mobi/.git
11 years agoImproved message about removing ad descriptions master origin/HEAD origin/master
Gusa [Mon, 17 Dec 2012 20:35:53 +0000 (21:35 +0100)]
Improved message about removing ad descriptions

11 years agoNice message about removing all ad descriptions.
Gusa [Sun, 16 Dec 2012 09:45:08 +0000 (10:45 +0100)]
Nice message about removing all ad descriptions.

11 years agoEdit/create new ads. Duplicate language.
Gusa [Sun, 16 Dec 2012 07:42:00 +0000 (08:42 +0100)]
Edit/create new ads. Duplicate language.

Show just once a language.

11 years agoEdit ad, not show 'new' field when all languages
Gusa [Sun, 16 Dec 2012 05:04:16 +0000 (06:04 +0100)]
Edit ad, not show 'new' field when all languages

Fixed error in comment.

11 years agoEdit ad, not show 'new' field when all languages
Gusa [Sun, 16 Dec 2012 04:07:44 +0000 (05:07 +0100)]
Edit ad, not show 'new' field when all languages

If the current ad has a description for every available language in the system
do not show the new field.

11 years agoEdit ad, not show 'new' field when all languages
Gusa [Sun, 16 Dec 2012 04:01:37 +0000 (05:01 +0100)]
Edit ad, not show 'new' field when all languages

If the current ad has a description for every available language in the system
do not show the new field.

11 years agoMore data fixtures.
Gusa [Sun, 16 Dec 2012 02:34:06 +0000 (03:34 +0100)]
More data fixtures.

I do not think I am going to need more. :D

11 years agoError log in page for registered users.
Gusa [Sun, 16 Dec 2012 00:52:22 +0000 (01:52 +0100)]
Error log in page for registered users.

When a registered user try to log in the wrong application (for example registered company user tries to log in the
users application) Symfony (sfGuard) needs this page in order to show a error message.

11 years agoError log in page for registered users.
Gusa [Sat, 15 Dec 2012 06:49:47 +0000 (07:49 +0100)]
Error log in page for registered users.

When a registered user try to log in the wrong application (for example registered company user tries to log in the
users application) Symfony (sfGuard) needs this page in order to show a error message.

11 years agoCompany categ may not link to main general categ.
Gusa [Sat, 15 Dec 2012 03:10:20 +0000 (04:10 +0100)]
Company categ may not link to main general categ.

11 years agoFixed error: finding ads but not user association.
Gusa [Sat, 15 Dec 2012 02:54:17 +0000 (03:54 +0100)]
Fixed error: finding ads but not user association.

11 years agoGeneralCategory, retrieve main using level 0.
Gusa [Sat, 15 Dec 2012 02:52:01 +0000 (03:52 +0100)]
GeneralCategory, retrieve main using level 0.

11 years agoUsers may not use main category (Producto) for ads
Gusa [Sat, 15 Dec 2012 01:35:42 +0000 (02:35 +0100)]
Users may not use main category (Producto) for ads

OMFG This is the last change.

11 years agoUers may not use main category (Producto) for ads
Gusa [Sat, 15 Dec 2012 01:18:49 +0000 (02:18 +0100)]
Uers may not use main category (Producto) for ads

This is the right change!!!!

11 years agoUsers may not use main category (Producto) for ads
Gusa [Sat, 15 Dec 2012 00:58:54 +0000 (01:58 +0100)]
Users may not use main category (Producto) for ads

11 years agoJust one more change in OfficeForm
Gustavo Martin Morcuende [Tue, 11 Dec 2012 22:51:00 +0000 (23:51 +0100)]
Just one more change in OfficeForm

11 years agoImproving the OfficeForm's behaviour.
Gustavo Martin Morcuende [Tue, 11 Dec 2012 22:42:40 +0000 (23:42 +0100)]
Improving the OfficeForm's behaviour.

11 years agoFixed error. While editing company categories.
Gustavo Martin Morcuende [Tue, 11 Dec 2012 04:17:47 +0000 (05:17 +0100)]
Fixed error. While editing company categories.

Parent category may not become a child category of its own child category or categories.

11 years agoFixed error, CompanyCategory index web page.
Gustavo Martin Morcuende [Tue, 11 Dec 2012 02:40:04 +0000 (03:40 +0100)]
Fixed error, CompanyCategory index web page.

11 years agoCustom error page. Not 404 code error.
Gustavo Martin Morcuende [Tue, 11 Dec 2012 02:20:42 +0000 (03:20 +0100)]
Custom error page. Not 404 code error.

Apparently symfony manages errors in a different way from the 404 code error.
This web pages just work when the application is running with production settings.

11 years agoWe do not need to store every checked category.
Gustavo Martin Morcuende [Tue, 11 Dec 2012 01:52:16 +0000 (02:52 +0100)]
We do not need to store every checked category.

If a parent category is selected we directly know the child ones are as well selected.
So, with this implementation we are wasting space in the database.
I do not have time right now for this improvement.

11 years agoFixed error in company category index web page.
Gustavo Martin Morcuende [Mon, 10 Dec 2012 23:37:36 +0000 (00:37 +0100)]
Fixed error in company category index web page.

11 years agoBetter user experience while editing offices.
Gustavo Martin Morcuende [Mon, 10 Dec 2012 23:27:22 +0000 (00:27 +0100)]
Better user experience while editing offices.

11 years agoMore data in fixtures file.
Gustavo Martin Morcuende [Mon, 10 Dec 2012 23:23:35 +0000 (00:23 +0100)]
More data in fixtures file.

11 years agoImproving UserBasket category selection.
Gustavo Martin Morcuende [Mon, 10 Dec 2012 23:23:05 +0000 (00:23 +0100)]
Improving UserBasket category selection.

11 years agoCheckboxes Hierarchically checked. UserBasket.
Gustavo Martin Morcuende [Mon, 10 Dec 2012 02:08:51 +0000 (03:08 +0100)]
Checkboxes Hierarchically checked. UserBasket.

11 years agoI should add even more data in fixtures.
Gustavo Martin Morcuende [Mon, 10 Dec 2012 02:05:36 +0000 (03:05 +0100)]
I should add even more data in fixtures.

Because I do not have backoffice it is going to be
needed in order to show more data related to GeneralCategory table
during the speech at the university.

Load data without causing any trouble in this way:
php symfony doctrine:data-load

11 years agoCustom web page error for users and companies.
Gustavo Martin Morcuende [Sun, 2 Dec 2012 21:12:40 +0000 (22:12 +0100)]
Custom web page error for users and companies.

It does not work during development just for production environment.

11 years agoGoogle maps window: open once per click
Gustavo Martin Morcuende [Sun, 2 Dec 2012 19:07:01 +0000 (20:07 +0100)]
Google maps window: open once per click

Bonus: now you can edit directly the coordinates without opening an annoying new window every time
you click in the GPS coodinates box. After closing the goolge maps window it can be opened agais just clicking
again in the GPS coordinates box.

11 years agoReturn ads depends on user's language
Gustavo Martin Morcuende [Sun, 2 Dec 2012 04:55:53 +0000 (05:55 +0100)]
Return ads depends on user's language

If there are not ad with his/hes language, do not return anything.

11 years agoFixed error in ad_mobile_image
Gustavo Martin Morcuende [Sun, 2 Dec 2012 04:45:05 +0000 (05:45 +0100)]
Fixed error in ad_mobile_image

The Ad table changed just 2 commits before

11 years agoWebServiceSigninForm.class.php was removed.
Gustavo Martin Morcuende [Sun, 2 Dec 2012 03:13:30 +0000 (04:13 +0100)]
WebServiceSigninForm.class.php was removed.

11 years agoCompanyDescription / CompanyCategoryDescription
Gustavo Martin Morcuende [Sun, 2 Dec 2012 01:34:38 +0000 (02:34 +0100)]
CompanyDescription / CompanyCategoryDescription

i18n is not needed for companies and company categories

11 years agoRegister web page for companies
Gustavo Martin Morcuende [Wed, 11 Jul 2012 22:31:41 +0000 (00:31 +0200)]
Register web page for companies

11 years agoGPS coordinates on pop up window.
Gustavo Martin Morcuende [Wed, 27 Jun 2012 20:59:55 +0000 (22:59 +0200)]
GPS coordinates on pop up window.

11 years agoEmbedding google maps in office form.
Gustavo Martin Morcuende [Wed, 27 Jun 2012 12:35:05 +0000 (14:35 +0200)]
Embedding google maps in office form.

11 years agoCompany category may not choose itself as parent.
Gustavo Martin Morcuende [Sun, 10 Jun 2012 21:23:22 +0000 (23:23 +0200)]
Company category may not choose itself as parent.

11 years agoWeb Service GetAdsbyGPS returns ad name.
Gustavo Martin Morcuende [Sun, 10 Jun 2012 21:22:46 +0000 (23:22 +0200)]
Web Service GetAdsbyGPS returns ad name.

11 years agoCreate and edit office with JQuery.
Gustavo Martin Morcuende [Mon, 4 Jun 2012 05:04:52 +0000 (07:04 +0200)]
Create and edit office with JQuery.

Country, Region and City are chosen using JQuery.

11 years agoComputer making strange noises.
Gustavo Martin Morcuende [Mon, 4 Jun 2012 02:02:39 +0000 (04:02 +0200)]
Computer making strange noises.

I AM AFRAID TO LOSE MY WHOLE WORK
LOL Fucking Murphy.

11 years agoAd index: choose language JQuery
Gustavo Martin Morcuende [Sun, 3 Jun 2012 21:40:33 +0000 (23:40 +0200)]
Ad index: choose language JQuery

11 years agoFixing wrong column number value in Ad index.
Gustavo Martin Morcuende [Sun, 3 Jun 2012 18:11:03 +0000 (20:11 +0200)]
Fixing wrong column number value in Ad index.

11 years agoLink office to ads. New CSS style.
Gustavo Martin Morcuende [Sun, 3 Jun 2012 18:09:00 +0000 (20:09 +0200)]
Link office to ads. New CSS style.

11 years agoCompany category: create and edit
Gustavo Martin Morcuende [Sun, 3 Jun 2012 17:35:47 +0000 (19:35 +0200)]
Company category: create and edit

11 years agoCompanies may just register through one admin.
Gustavo Martin Morcuende [Sun, 3 Jun 2012 17:21:07 +0000 (19:21 +0200)]
Companies may just register through one admin.

11 years agoAd index: longitude and latitude fields
Gustavo Martin Morcuende [Sun, 3 Jun 2012 16:52:32 +0000 (18:52 +0200)]
Ad index: longitude and latitude fields

11 years agoEdit Ads and Company data with nice forms.
Gustavo Martin Morcuende [Sun, 3 Jun 2012 16:46:20 +0000 (18:46 +0200)]
Edit Ads and Company data with nice forms.

11 years agoMany changes related to forms and CSS
Gustavo Martin Morcuende [Fri, 1 Jun 2012 19:46:48 +0000 (21:46 +0200)]
Many changes related to forms and CSS

11 years agoAds with GPS coordinates and logo in companies.
Gustavo Martin Morcuende [Wed, 30 May 2012 22:00:32 +0000 (00:00 +0200)]
Ads with GPS coordinates and logo in companies.

11 years agoFileImageValidator: max size 156.
Gustavo Martin Morcuende [Wed, 30 May 2012 00:41:31 +0000 (02:41 +0200)]
FileImageValidator: max size 156.

No time for more tests right now. This is enough for me.

11 years agoImage validator.
Gustavo Martin Morcuende [Wed, 30 May 2012 00:31:11 +0000 (02:31 +0200)]
Image validator.

Max and min sizes for the picture which is
going to be downloaded on the telephone.

11 years agoFixed issue when no ads with default language.
Gustavo Martin Morcuende [Wed, 30 May 2012 00:19:09 +0000 (02:19 +0200)]
Fixed issue when no ads with default language.

Right know I let users create ads without the default language.
That must be fixed.

11 years agoCompanies: register web page with RECAPTCHA
Gustavo Martin Morcuende [Sun, 27 May 2012 20:36:39 +0000 (22:36 +0200)]
Companies: register web page with RECAPTCHA

11 years agoChange background in login and register web page
Gustavo Martin Morcuende [Sun, 27 May 2012 20:35:35 +0000 (22:35 +0200)]
Change background in login and register web page

11 years agoRemove useless code line.
Gustavo Martin Morcuende [Sun, 27 May 2012 20:35:15 +0000 (22:35 +0200)]
Remove useless code line.

11 years agoRegister users with RECAPTCHA
Gustavo Martin Morcuende [Sun, 27 May 2012 20:23:02 +0000 (22:23 +0200)]
Register users with RECAPTCHA

11 years agoRegister users. Nice web page
Gustavo Martin Morcuende [Sun, 27 May 2012 19:30:38 +0000 (21:30 +0200)]
Register users. Nice web page

11 years agoUsers: layout, missed Contact field
Gustavo Martin Morcuende [Sun, 27 May 2012 12:45:52 +0000 (14:45 +0200)]
Users: layout, missed Contact field

11 years agoUsers: edit user's data web page and new layout.
Gustavo Martin Morcuende [Sun, 27 May 2012 12:42:30 +0000 (14:42 +0200)]
Users: edit user's data web page and new layout.

11 years agoCompanies: edit user's data web page
Gustavo Martin Morcuende [Sun, 27 May 2012 12:18:18 +0000 (14:18 +0200)]
Companies: edit user's data web page

11 years agoLoad ads pictures directly on the server.
Gustavo Martin Morcuende [Sat, 26 May 2012 18:23:55 +0000 (20:23 +0200)]
Load ads pictures directly on the server.

11 years agoNavigation ads index page: parameter page
Gustavo Martin Morcuende [Sat, 26 May 2012 17:40:41 +0000 (19:40 +0200)]
Navigation ads index page: parameter page

11 years agoNavegation ads index: parameter page.
Gustavo Martin Morcuende [Sat, 26 May 2012 17:39:35 +0000 (19:39 +0200)]
Navegation ads index: parameter page.

11 years agoRESTFUL Web Service get ads by GPS
Gustavo Martin Morcuende [Wed, 23 May 2012 04:51:14 +0000 (06:51 +0200)]
RESTFUL Web Service get ads by GPS

11 years agoWeb Service Login: required form class
Gustavo Martin Morcuende [Wed, 23 May 2012 04:46:40 +0000 (06:46 +0200)]
Web Service Login: required form class

11 years agoWeb page for users: link to general categories.
Gustavo Martin Morcuende [Tue, 22 May 2012 20:06:29 +0000 (22:06 +0200)]
Web page for users: link to general categories.

11 years agoWorking on the userfront application.
Gustavo Martin Morcuende [Tue, 22 May 2012 06:25:41 +0000 (08:25 +0200)]
Working on the userfront application.

Layout, javascript to update chosen categories.

11 years agoUsing foreignalias because there is not RIGHT JOIN
Gustavo Martin Morcuende [Tue, 22 May 2012 06:24:21 +0000 (08:24 +0200)]
Using foreignalias because there is not RIGHT JOIN

Doctrine ORM does not implement the right join (it makes no sense in an ORM)

11 years agoWeb pages for company data management.
Gustavo Martin Morcuende [Mon, 21 May 2012 00:09:39 +0000 (02:09 +0200)]
Web pages for company data management.

11 years agoCleaning up the companyfront layout.
Gustavo Martin Morcuende [Mon, 21 May 2012 00:08:33 +0000 (02:08 +0200)]
Cleaning up the companyfront layout.

And using internationalization.

11 years agoFixed name field.
Gustavo Martin Morcuende [Mon, 21 May 2012 00:04:35 +0000 (02:04 +0200)]
Fixed name field.

Misspelled english name :(

11 years agoMissed field in CompanyCategoryForm.class.php
Gustavo Martin Morcuende [Mon, 21 May 2012 00:02:32 +0000 (02:02 +0200)]
Missed field in CompanyCategoryForm.class.php

11 years agoFixed error: HTML tag in ad lists.
Gustavo Martin Morcuende [Sun, 20 May 2012 23:59:16 +0000 (01:59 +0200)]
Fixed error: HTML tag in ad lists.

11 years agoError fixed: removing updating node nested tree
Gustavo Martin Morcuende [Sun, 20 May 2012 21:54:42 +0000 (23:54 +0200)]
Error fixed: removing updating node nested tree

Remove node and descendants.
Update node: whether it already has a parent or not

11 years agoNarrow down the chosen categories for the Ads.
Gustavo Martin Morcuende [Sun, 20 May 2012 21:51:27 +0000 (23:51 +0200)]
Narrow down the chosen categories for the Ads.

The ads may just choose categories related to one company.

11 years agoFixing errors in CompanyCategory: order and update
Gustavo Martin Morcuende [Sun, 20 May 2012 21:00:39 +0000 (23:00 +0200)]
Fixing errors in CompanyCategory: order and update

We order the results from the CompanyCategory table in the right way.
Fixing error while updating, the parent_category was missed.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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

11 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.

11 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.

11 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...

11 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.

11 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.

11 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

11 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.

11 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.

11 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.

11 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

11 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.

11 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.

11 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.