Gusa [Sun, 16 Dec 2012 09:45:08 +0000 (10:45 +0100)]
Nice message about removing all ad descriptions.
Gusa [Sun, 16 Dec 2012 07:42:00 +0000 (08:42 +0100)]
Edit/create new ads. Duplicate language.
Show just once a language.
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.
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.
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.
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
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.
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.
Gusa [Sat, 15 Dec 2012 03:10:20 +0000 (04:10 +0100)]
Company categ may not link to main general categ.
Gusa [Sat, 15 Dec 2012 02:54:17 +0000 (03:54 +0100)]
Fixed error: finding ads but not user association.
Gusa [Sat, 15 Dec 2012 02:52:01 +0000 (03:52 +0100)]
GeneralCategory, retrieve main using level 0.
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.
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!!!!
Gusa [Sat, 15 Dec 2012 00:58:54 +0000 (01:58 +0100)]
Users may not use main category (Producto) for ads
Gustavo Martin Morcuende [Tue, 11 Dec 2012 22:51:00 +0000 (23:51 +0100)]
Just one more change in OfficeForm
Gustavo Martin Morcuende [Tue, 11 Dec 2012 22:42:40 +0000 (23:42 +0100)]
Improving the OfficeForm's behaviour.
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.
Gustavo Martin Morcuende [Tue, 11 Dec 2012 02:40:04 +0000 (03:40 +0100)]
Fixed error, CompanyCategory index web page.
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.
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.
Gustavo Martin Morcuende [Mon, 10 Dec 2012 23:37:36 +0000 (00:37 +0100)]
Fixed error in company category index web page.
Gustavo Martin Morcuende [Mon, 10 Dec 2012 23:27:22 +0000 (00:27 +0100)]
Better user experience while editing offices.
Gustavo Martin Morcuende [Mon, 10 Dec 2012 23:23:35 +0000 (00:23 +0100)]
More data in fixtures file.
Gustavo Martin Morcuende [Mon, 10 Dec 2012 23:23:05 +0000 (00:23 +0100)]
Improving UserBasket category selection.
Gustavo Martin Morcuende [Mon, 10 Dec 2012 02:08:51 +0000 (03:08 +0100)]
Checkboxes Hierarchically checked. UserBasket.
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
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.
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.
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.
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
Gustavo Martin Morcuende [Sun, 2 Dec 2012 03:13:30 +0000 (04:13 +0100)]
WebServiceSigninForm.class.php was removed.
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
Gustavo Martin Morcuende [Wed, 11 Jul 2012 22:31:41 +0000 (00:31 +0200)]
Register web page for companies
Gustavo Martin Morcuende [Wed, 27 Jun 2012 20:59:55 +0000 (22:59 +0200)]
GPS coordinates on pop up window.
Gustavo Martin Morcuende [Wed, 27 Jun 2012 12:35:05 +0000 (14:35 +0200)]
Embedding google maps in office form.
Gustavo Martin Morcuende [Sun, 10 Jun 2012 21:23:22 +0000 (23:23 +0200)]
Company category may not choose itself as parent.
Gustavo Martin Morcuende [Sun, 10 Jun 2012 21:22:46 +0000 (23:22 +0200)]
Web Service GetAdsbyGPS returns ad name.
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.
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.
Gustavo Martin Morcuende [Sun, 3 Jun 2012 21:40:33 +0000 (23:40 +0200)]
Ad index: choose language JQuery
Gustavo Martin Morcuende [Sun, 3 Jun 2012 18:11:03 +0000 (20:11 +0200)]
Fixing wrong column number value in Ad index.
Gustavo Martin Morcuende [Sun, 3 Jun 2012 18:09:00 +0000 (20:09 +0200)]
Link office to ads. New CSS style.
Gustavo Martin Morcuende [Sun, 3 Jun 2012 17:35:47 +0000 (19:35 +0200)]
Company category: create and edit
Gustavo Martin Morcuende [Sun, 3 Jun 2012 17:21:07 +0000 (19:21 +0200)]
Companies may just register through one admin.
Gustavo Martin Morcuende [Sun, 3 Jun 2012 16:52:32 +0000 (18:52 +0200)]
Ad index: longitude and latitude fields
Gustavo Martin Morcuende [Sun, 3 Jun 2012 16:46:20 +0000 (18:46 +0200)]
Edit Ads and Company data with nice forms.
Gustavo Martin Morcuende [Fri, 1 Jun 2012 19:46:48 +0000 (21:46 +0200)]
Many changes related to forms and CSS
Gustavo Martin Morcuende [Wed, 30 May 2012 22:00:32 +0000 (00:00 +0200)]
Ads with GPS coordinates and logo in companies.
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.
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.
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.
Gustavo Martin Morcuende [Sun, 27 May 2012 20:36:39 +0000 (22:36 +0200)]
Companies: register web page with RECAPTCHA
Gustavo Martin Morcuende [Sun, 27 May 2012 20:35:35 +0000 (22:35 +0200)]
Change background in login and register web page
Gustavo Martin Morcuende [Sun, 27 May 2012 20:35:15 +0000 (22:35 +0200)]
Remove useless code line.
Gustavo Martin Morcuende [Sun, 27 May 2012 20:23:02 +0000 (22:23 +0200)]
Register users with RECAPTCHA
Gustavo Martin Morcuende [Sun, 27 May 2012 19:30:38 +0000 (21:30 +0200)]
Register users. Nice web page
Gustavo Martin Morcuende [Sun, 27 May 2012 12:45:52 +0000 (14:45 +0200)]
Users: layout, missed Contact field
Gustavo Martin Morcuende [Sun, 27 May 2012 12:42:30 +0000 (14:42 +0200)]
Users: edit user's data web page and new layout.
Gustavo Martin Morcuende [Sun, 27 May 2012 12:18:18 +0000 (14:18 +0200)]
Companies: edit user's data web page
Gustavo Martin Morcuende [Sat, 26 May 2012 18:23:55 +0000 (20:23 +0200)]
Load ads pictures directly on the server.
Gustavo Martin Morcuende [Sat, 26 May 2012 17:40:41 +0000 (19:40 +0200)]
Navigation ads index page: parameter page
Gustavo Martin Morcuende [Sat, 26 May 2012 17:39:35 +0000 (19:39 +0200)]
Navegation ads index: parameter page.
Gustavo Martin Morcuende [Wed, 23 May 2012 04:51:14 +0000 (06:51 +0200)]
RESTFUL Web Service get ads by GPS
Gustavo Martin Morcuende [Wed, 23 May 2012 04:46:40 +0000 (06:46 +0200)]
Web Service Login: required form class
Gustavo Martin Morcuende [Tue, 22 May 2012 20:06:29 +0000 (22:06 +0200)]
Web page for users: link to general categories.
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.
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)
Gustavo Martin Morcuende [Mon, 21 May 2012 00:09:39 +0000 (02:09 +0200)]
Web pages for company data management.
Gustavo Martin Morcuende [Mon, 21 May 2012 00:08:33 +0000 (02:08 +0200)]
Cleaning up the companyfront layout.
And using internationalization.
Gustavo Martin Morcuende [Mon, 21 May 2012 00:04:35 +0000 (02:04 +0200)]
Fixed name field.
Misspelled english name :(
Gustavo Martin Morcuende [Mon, 21 May 2012 00:02:32 +0000 (02:02 +0200)]
Missed field in CompanyCategoryForm.class.php
Gustavo Martin Morcuende [Sun, 20 May 2012 23:59:16 +0000 (01:59 +0200)]
Fixed error: HTML tag in ad lists.
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
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.
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.
Gustavo Martin Morcuende [Sun, 20 May 2012 19:46:02 +0000 (21:46 +0200)]
Company Category edit, new, list, remove
Everything about company categories.
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.
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.
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.
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.
Gustavo Martin Morcuende [Sat, 19 May 2012 19:29:46 +0000 (21:29 +0200)]
First steps in company category administration.
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.
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.
Gustavo Martin Morcuende [Sat, 19 May 2012 19:03:21 +0000 (21:03 +0200)]
Link Office to Ads.
I hate Symfony and PHP.
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.
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
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.
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.
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...
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.
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.
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
Gustavo Martin Morcuende [Tue, 15 May 2012 17:08:14 +0000 (19:08 +0200)]
Combobox to show the available languages.
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.
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.
Gustavo Martin Morcuende [Tue, 15 May 2012 14:11:41 +0000 (16:11 +0200)]
Remove useless validator from OfficeForm
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.
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.
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.
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...