12 May, 2010
1 commit
-
* The field verification now occurs before de validation. * Fields that uses the full filter escape residual '<' and '>' after filtering wellformed tags. * Fields that uses white_list filter only escape the '<' and '>' symbols if the tag is not wellformed. * This patch only fixes the fields that were before being filtered. A full field verification is need to check the way each field must be filtered. (ActionItem1491)
11 May, 2010
1 commit
-
(ActionItem1339)
07 May, 2010
1 commit
-
(ActionItem1428)
28 Apr, 2010
3 commits
-
(ActionItem1492)
-
(ActionItem1487)
-
Adding classes to h1 of topics Translation to pt-br in infinitive (ActionItem1487)
26 Apr, 2010
3 commits
-
(ActionItem1476)
-
* Adding new image size: slideshow * SlideshowBlock can choose which size to use (thumb or slideshow) (ActionItem1493)
-
(ActionItem1494)
21 Apr, 2010
1 commit
19 Apr, 2010
1 commit
-
(ActionItem1396)
16 Apr, 2010
7 commits
-
(ActionItem1396) Signed-off-by: Antonio Terceiro <terceiro@colivre.coop.br>
-
(ActionItem1455)
-
* Folders are being filtered in the slideshow's block. (ActionItem1447)
-
(ActionItem1482)
-
(ActionItem1482)
-
(ActionItem1482)
-
* The registration has two validation type: region and admin. + Admin - There is no validator to choose. - The regions to choose are states (This might be changed in the future). - The admins of the environment recieves the task to approve the registration of this new enterprise. - The region field isn't displayed. + Region - If there isn't any validator, shows a message that it's not possible to register any enterprise and don't show the form. - Show only the regions where is registered at least one validator. - The region field is displayed. * The required fields are highlithed. * The fields that are active or required are set through the administration panel. * Only the fields name and identifier are always required. * After registering a new enterprise, the user is set as an admin of it. * The cancel button in the register form is working properly. * In the "Validator" step, the radio button is choosing a default option. * Cancel radio_button in the task validation has a "Rejection Explanation" field that is required. * Some navigation buttons added. * Changed some buttons to labelled buttons. * The "Register a new enterprise" button is an admin option. (ActionItem1482)
14 Apr, 2010
1 commit
-
(ActionItem1452)
08 Apr, 2010
1 commit
-
This commit introduces a lot of changes in the HTML generated by Nosfero with the intent of making it load faster on users' browsers. This includes: * Adding apache configuration for compression of text content and aggresive cache policy (caching assets for 1 month) * Drastically reducing the number of stylesheets and javascript files referenced in the HTML. * The remaining CSS and Javascript files are now cached in a single file (one CSS file and one Javascript file) so that clients will only request a single file instead of several ones (and thus requiring a single HTTP connection instead of several ones). * Making sure that all assets referenced in the code have a timestamp (?21083219837) in the end of the URL so that when they are updated the client will fetch them again. During the course of the implemeantion, some other changes were made: * Updated INSTALL file with documentation about apache configuration for production environments. * Marked as deprecated all methods that use stylesheet_import, as well as stylesheet_import itself. * Removed "better browser promotion" code. It sucks. * Unifyed Noosfero stylesheets) * Unifyed stylesheets in the base theme * Enhanced the sample-data script with the creation of random events. in a range of 60 days around the current date, so that there will be events in the previous month, in the current month and in the next month. * Removed unused cms.js * Updated .gitignore example to ignore cached CSS and Javascript files. * Updated git-upgrade script to remove cached CSS and Javascript files. (ActionItem1425)
05 Apr, 2010
2 commits
-
Besides being faster, consumming less memory, and being thread-safe, fast_gettext's approach is cleaner than Ruby-GetText's because it does not mess with the Rails internals. That's probably due to the fact that fast_gettext was designed after Rails had proper I18N support, so that's not exactly Ruby-GetText's fault. Current versions of Ruby-GetText are claimed to be thread-safe as well, but I decided to go with fast_gettext regardless. I am messing with the Rails internals myself by copying some code from Ruby-Gettext, but that code will be dropped when we upgrade to a more recent Rails version with proper I18N. Code was copied from Ruby-GetText to implement: * per-language cache * validation error messages translation During initialization, the needed .mo files installed system-wide are symlinked locally. By doing this we can take "similar" locales locally since fast_gettext does not seem to support loading of files from similar locales (e.g. loading pt_BR/LC_MESSAGES/domain.mo when pt/LC_MESSAGES/domain.mo is not available). This hopefully will fix the long-standing bug with messed up translations due to high concurrency and non-thread-safety of the version of Ruby-GetText in Debian Lenny. (ActionItem1315)
03 Apr, 2010
1 commit
31 Mar, 2010
1 commit
30 Mar, 2010
1 commit
-
This reverts commit d0f8d245c7304e20f86be76e84de59e62f30c889.
26 Mar, 2010
7 commits
-
(ActionItem1451)
-
Using a constant instead of a method call that instantiates that array at every call; besides, using symbols instead of strings.
-
* Profile theme is nil by default. * Profile#theme was removed. (ActionItem1432)
-
* Used xss_terminate with the option 'white_list' that only filters the bad html codes. (ActionItem1437)
-
* Checking if each children of the folder should be displayed to the current user by using the 'display_to?' method. * Moving some test from the folder test to the folder_helper test. (ActionItem1396)
-
* This patch will centralize the logic of public/private article in the 'published' attribute. * Removing the public_article attribute from the code replacing it by published. * Creating two new migrations: 1. Setting the published attribute to false when the article has the public_article attribute false. This will grant that all the articles that aren't public now continue unpublished. 2. Removing the public_article attribute from the schema.
24 Mar, 2010
1 commit
-
(ActionItem1448)
17 Mar, 2010
1 commit
-
(ActionItem1404)
15 Mar, 2010
1 commit
-
* Adding an unblock method for enterprises * Adding the 'lock' icon to icon list * Adding 'block' and 'unblock' noosfero steps. (ActionItem1402)
08 Mar, 2010
2 commits
-
(ActionItem1419)
-
* Granting that the attribute 'task_args' isn't nil before trying to merge. (ActionItem1411)
05 Mar, 2010
2 commits
-
* Also created another method for the cache of members called members_cache_key (ActionItem1399)
-
* The problem ocurred because the body of PublishedArticles is empty and it must call the body of the article to which it references to. This is done through the to_html method. * Also included fast_create defaults for blog. (ActionItem1395)
26 Feb, 2010
1 commit
-
(ActionItem1397)