26 Jan, 2015
1 commit
-
This needs to be done for all plugins as well, but it's more complicated there because several plugins have their own test_helper (which will also load the core test_helper).
22 Feb, 2011
1 commit
-
Conflicts: app/controllers/application.rb lib/noosfero.rb lib/noosfero/i18n.rb test/test_helper.rb test/unit/consumption_test.rb
10 Sep, 2010
1 commit
-
* Rewrite ProfileListBlock logic to become simpler and faster * Rewrite membership logic to use named scopes instead of loading the entire list and doing filters with Ruby code. * Moved Noosfero-specific membership logic from access control plugin to Noosfero models. * Removed useless tests * Fixed tests that assumed the slow implementation
17 Jul, 2010
1 commit
02 Jul, 2010
1 commit
05 Apr, 2010
1 commit
-
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)
20 Jan, 2010
1 commit
-
* Added migration to add visible to profiles * Some improvements on profile screen * A private profile displays a different profile screen * added profile image, name, description and message * added link to join if profile is a community * added link to "add friend" if profile is a person * Added description in profile * Added field description to organization and person form * Removed link and added button on not_found page * Added css for not access_denied message * Changed css for flash messages * Recent articles doens't list private profile's articles * Private profiles are listed on blocks and searches * Invisible profiles are never listed * Join community popup will be displayed if profile is private * Join community popup will not be displayed if profile is invisible * If an organization is private, it is also closed
02 Dec, 2009
1 commit
28 Sep, 2009
1 commit
-
* Private profiles should not be counted
02 Sep, 2009
1 commit
06 Jun, 2009
1 commit
-
* changed system roles to depend on environment * made roles environment specific
25 May, 2009
2 commits
-
* changed 'all <profile>' to simply 'view all' * adding number to profile list blocks title * added mebers info to communities block
14 Aug, 2008
1 commit
-
To be able to make some database optimizations in the blocks of profile listing and still filter out the private profiles the public_profile attribute had to be promotted from setting to column git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2394 3f533792-8f58-4932-b0fe-aaf55b0a4547
22 Jul, 2008
1 commit
-
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2313 3f533792-8f58-4932-b0fe-aaf55b0a4547
09 Jul, 2008
1 commit
-
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2184 3f533792-8f58-4932-b0fe-aaf55b0a4547
28 Apr, 2008
2 commits
-
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1713 3f533792-8f58-4932-b0fe-aaf55b0a4547
-
communities; adapting enterprise and community ones to also accept environment as owner git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1710 3f533792-8f58-4932-b0fe-aaf55b0a4547
15 Feb, 2008
1 commit
-
…de. I think that maybe those finders are not needed at all git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1399 3f533792-8f58-4932-b0fe-aaf55b0a4547