mobi/.git
12 years agoCompany Category edit, new, list, remove
Gustavo Martin Morcuende [Sun, 20 May 2012 19:46:02 +0000 (21:46 +0200)]
Company Category edit, new, list, remove

Everything about company categories.

12 years agoWriting my name on the PHP class comments.
Gustavo Martin Morcuende [Sun, 20 May 2012 19:44:32 +0000 (21:44 +0200)]
Writing my name on the PHP class comments.

Try not forget to write it.

12 years agoFixing error in toString method Doctrine Record
Gustavo Martin Morcuende [Sun, 20 May 2012 19:40:01 +0000 (21:40 +0200)]
Fixing error in toString method Doctrine Record

I was not retrieving the right language id value in the
Symfony Doctrine Record object.

12 years agoRemove pager from Company Category index list.
Gustavo Martin Morcuende [Sun, 20 May 2012 15:49:12 +0000 (17:49 +0200)]
Remove pager from Company Category index list.

I am going to use just the Tree with the categories.

12 years agoFixing error in OfficeAdsForm: save/remove
Gustavo Martin Morcuende [Sun, 20 May 2012 15:31:36 +0000 (17:31 +0200)]
Fixing error in OfficeAdsForm: save/remove

I did not realize before that while saving or removing objects
in OfficeAds table I had to count on the user's choice and remove
or save all of those objects whiche must not stay in the data base.

12 years agoFirst steps in company category administration.
Gustavo Martin Morcuende [Sat, 19 May 2012 19:29:46 +0000 (21:29 +0200)]
First steps in company category administration.

12 years agoUsing list decorator in set language form.
Gustavo Martin Morcuende [Sat, 19 May 2012 19:29:00 +0000 (21:29 +0200)]
Using list decorator in set language form.

For ads index.
TODO: my own decorator.

12 years agoFixing link error in create office link.
Gustavo Martin Morcuende [Sat, 19 May 2012 19:09:32 +0000 (21:09 +0200)]
Fixing link error in create office link.

The current page was not correct.

12 years agoLink Office to Ads.
Gustavo Martin Morcuende [Sat, 19 May 2012 19:03:21 +0000 (21:03 +0200)]
Link Office to Ads.

I hate Symfony and PHP.

12 years agoShowing the real user name on layout.
Gustavo Martin Morcuende [Fri, 18 May 2012 05:16:54 +0000 (07:16 +0200)]
Showing the real user name on layout.

In the right corner beside logout link.

12 years agoCreate associations between offices and ads
Gustavo Martin Morcuende [Thu, 17 May 2012 01:57:43 +0000 (03:57 +0200)]
Create associations between offices and ads

Using double list and the plguin sfFormExtraPlugin

12 years agoCompanyCategory and Ad table name field
Gustavo Martin Morcuende [Wed, 16 May 2012 22:43:33 +0000 (00:43 +0200)]
CompanyCategory and Ad table name field

We can retrieve the name field of these tables using the toString method.
They are smart enough and try to return the name field depending on the
user's language or rolling back to the default language.
Otherwise it returns a nice error message.

12 years agoLanguage Company Category fields.
Gustavo Martin Morcuende [Wed, 16 May 2012 01:54:22 +0000 (03:54 +0200)]
Language Company Category fields.

Using the user's language to show the name of the company category fields
related to one ad.

12 years agoAds edition and creation with internationalization
Gustavo Martin Morcuende [Tue, 15 May 2012 23:31:47 +0000 (01:31 +0200)]
Ads edition and creation with internationalization

Nested forms in order to create or edit ads
(relation 1 to N between data base tables)
I hate internationalization...

12 years agoChosen language and ads list web page.
Gustavo Martin Morcuende [Tue, 15 May 2012 17:36:37 +0000 (19:36 +0200)]
Chosen language and ads list web page.

Use the chosen language when making click on the
pager links. The current language must keep being the chosen one by
the user.

12 years agoFirst steps with Ads. Index web page.
Gustavo Martin Morcuende [Tue, 15 May 2012 17:14:19 +0000 (19:14 +0200)]
First steps with Ads. Index web page.

Index web page with internationalization.
We can change the shown language without JavaScript.

12 years agoMinor change: my name in the class comments
Gustavo Martin Morcuende [Tue, 15 May 2012 17:09:12 +0000 (19:09 +0200)]
Minor change: my name in the class comments

Class: lib/model/doctrine/Language.class.php

12 years agoCombobox to show the available languages.
Gustavo Martin Morcuende [Tue, 15 May 2012 17:08:14 +0000 (19:08 +0200)]
Combobox to show the available languages.

12 years agoUsing the right tags in the HTML code.
Gustavo Martin Morcuende [Tue, 15 May 2012 14:17:35 +0000 (16:17 +0200)]
Using the right tags in the HTML code.

In custom office form, edit and new html office pages.

12 years agoRemove useless variable. Action: index office.
Gustavo Martin Morcuende [Tue, 15 May 2012 14:13:03 +0000 (16:13 +0200)]
Remove useless variable. Action: index office.

In the PHP code for the index action in the office module
(for company users) there was a useless variable which was not
needed.

12 years agoRemove useless validator from OfficeForm
Gustavo Martin Morcuende [Tue, 15 May 2012 14:11:41 +0000 (16:11 +0200)]
Remove useless validator from OfficeForm

12 years agoEvery user must have her/his language.
Gustavo Martin Morcuende [Tue, 15 May 2012 14:04:31 +0000 (16:04 +0200)]
Every user must have her/his language.

When creating a new account the user must choose her/his language.
It is used to show the data from the database in the correct language
which was chosen by the user.

12 years agoCreate, edit, remove office.
Gustavo Martin Morcuende [Mon, 14 May 2012 00:04:11 +0000 (02:04 +0200)]
Create, edit, remove office.

Right now very simple, wihtout using javascript.
In the future many improvements if I use javascript.

12 years agoCookies for login page.
Gustavo Martin Morcuende [Sun, 13 May 2012 19:23:43 +0000 (21:23 +0200)]
Cookies for login page.

Just is left the domain.
It does not work with localhost, hopefully it will with the production's domain.

12 years agoFirst module: office
Gustavo Martin Morcuende [Sun, 13 May 2012 16:51:11 +0000 (18:51 +0200)]
First module: office

Getting ready: layout, i18n
I have to write a new form for this module which will let us create
a new office. Right now without javascript, but if I want it to seem
"professional" I will have to finish using javascript...

12 years agoLayout for login page.
Gustavo Martin Morcuende [Sun, 13 May 2012 02:15:25 +0000 (04:15 +0200)]
Layout for login page.

I am using sfDoctrineGuardPlugin with a custom layout.

12 years agoRemove directories.
Gustavo Martin Morcuende [Sun, 13 May 2012 02:06:47 +0000 (04:06 +0200)]
Remove directories.

cache and log directories must not be tracked.

12 years agoFirst big commit.
Gustavo Martin Morcuende [Sat, 12 May 2012 22:24:48 +0000 (00:24 +0200)]
First big commit.

MobiAds. Hopefully this is the final one.

Cross fingers and toes.