03 Apr, 2013
1 commit
-
Now the plugins can create the folders 'step_definitions' and 'support' under the folder 'features' to extend cucumber features as it pleases. The plugins with any extension gain 2 new profiles on the cucumber.yml file. For example, for mezuro plugin, it will have the 'mezuro' and 'mezuro_selenium' cucumber profiles that will load the appropriate files. So if you extend cucumber with new steps, hooks, etc; and you want to run the cucumber tests of mezuro plugin with all these extensions you must include '-p mezuro' on the cucumber call (or '-p mezuro-selenium' to run selenium profile). This is already handled by the rake task that runs the plugins' tests. So it'd be much better to run 'rake test:noosfero_plugins:mezuro:{cucumber,selenium}' instead. Also: * Moving plugins' 'features' folder to the plugin' root instead of inside the folder 'test' (just following Rails convention). * Moving specific steps and hooks of mezuro from core to the plugin. * Requiring plugin to be enabled to run any of its tests.
04 Jan, 2011
1 commit
-
Done: * Plugin loading process * Infra-structure for plugins registering and event activations. * Three fixed routes for plugins. * Methods to define plugins meta-information. * Interface for activation and deactivation of plugins in the environment panel. * Hotspots: - Buttons in the control panel. - Tabs in the profile (including expanded_template method). - New attributes for profile. * Possibility for the plugin to add new tables. * Mezuro prototype. Missing: * Test integration. * Dependencies integration. * Possibility to add behaviours in noosfero base models.
09 Dec, 2010
1 commit
-
* When approving a task, some fields from published article are displayed and can be edited * Removed PublishedArticle * Added migrate to copy body, article and type from PublishedArticle's reference_article to article (ActionItem1733)
07 Dec, 2010
1 commit
-
(ActionItem1769)
26 Oct, 2010
1 commit
-
(ActionItem1680)
04 Oct, 2010
1 commit
-
(ActionItem1685)
11 Sep, 2010
1 commit
-
- added strophejs lib to communication with XMPP server - added jquery.scrollabletab.js and jquery.emoticon.js plugins - new 'pidgin' icon theme - environment attribute 'icon_theme' moved to theme - added ruby_bosh as plugin to start XMPP/BOSH session (ActionItem1635)
30 Aug, 2010
1 commit
-
(ActionItem1640)
22 Aug, 2010
1 commit
-
Added delayed_job plugin Added a daemon to start/stop delayed_job Added invitation on a queue to be processed later (ActionItem1640)
15 Aug, 2010
1 commit
-
- Added a new jQuery UI theme - Added jQuery Cookie plugin (ActionItem1412)
14 Aug, 2010
1 commit
-
Implemented cache policy: * the homepage is cached for 5 minutes by default. This time can be configured with the =home_cache_in_minutes= attribute in the environment. * non-profile pages are cached for 15 minutes by default. This time can be configured with the =general_cache_in_minutes= attribute in the environment. * profile pages are cached for 15 minutes by default. This time can be configured in the =profile_cache_in_minutes= attribute in the environment. * The account controller (/account/*) is not cached at all. * The environment administration area (/admin/*) is not cached at all. * The profile administration area (/myprofile/*) is not cached at all. * Since Varnish will not cache any request that involves cookies: * Authenticated users will not benefit from the cache. * Cookies are not allowed for unauthenticated users. So, when a response is being prepared for an unauthenticated user, all cookies are wiped out. The contents of the login block and the login/logout part of the header is now loaded via an AJAX call to /account/user_data. This way we can cache almost all pages without caching user-specific data. We are also changing substantially how the flash[:notice] messages work. From now on, instead of setting flash[:notice], we must set session[:flash]. It will work more or less like before, except that session[:notice] will be consumed by the AJAX call to /account/user_data that is done during all page loads instead of being consumed automatically by Rails. The only exception to this is the media_panel, because it uses a different layout. (ActionItem1608)
31 Jul, 2010
1 commit
30 Jul, 2010
2 commits
-
* CreateEnterprise#environment uses the requestor environment as the requestor is always required. * Migration to fix the enterprises with wrong environments. (ActionItem1555)
28 Jul, 2010
1 commit
-
ActionItem1416 (fixed live at Noosfero fisl11 talk)
23 Jul, 2010
2 commits
-
(ActionItem1543)
-
This code fix this bug and make some cucumber test to the FeaturedProductsBlock. (ActionItem1591)
17 Jul, 2010
1 commit
-
Fixing categories selection and fixing width of sideboxes in leftbar and rightbar templates Added themes to jquery-ui (ActionItem1392)
15 Jul, 2010
1 commit
-
(ActionItem1582)
13 Jul, 2010
1 commit
-
- Old interface for category selection was removed - Allow nil for product name - Procuct category is mandatory for new products - Optimizing some functional tests - Categories have attribute to set if accept or no products (ActionItem1391)
01 Jul, 2010
1 commit
-
* Fixed fields that weren't in the custom fields options. * Included "Display on creation|registration" feature for organization fields. * Included fields dependencies: [field] -> [dependencies] required -> active, signup signup -> active * Javascripts to grant the dependencies on the radioboxes. * Changing the validation of fields presence message. * Also removing some unwanted endline spaces. (ActionItem1509)
20 May, 2010
1 commit
-
(ActionItem1534)
07 May, 2010
1 commit
-
(ActionItem1428)
16 Apr, 2010
1 commit
-
* 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)
07 Apr, 2010
1 commit
-
It seems that the problem happens when selenium steps run before non-selenium steps (e.g. settind up data for the test). Doing this also seems to remove the need for the sleeps added to avoid the timeout.
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)
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 Feb, 2010
1 commit
-
(ActionItem1361)
20 Jan, 2010
2 commits
-
(ActionItem1367)
-
* 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
13 Jan, 2010
1 commit
28 Dec, 2009
2 commits
04 Dec, 2009
1 commit
-
(ActionItem1280)
02 Dec, 2009
1 commit
-
* The user can set his location in the map by dragging a marker or by setting his address in the form. * After setting his location, the map is added to the location block. * The user can configure the zoom level and the map type that will be shown in the location block. ActionItem1256
30 Nov, 2009
4 commits
-
Conflicts: app/views/profile_editor/_organization.rhtml features/support/selenium.rb
-
This is saner than clicking "Delete" an arbitrary number of times (this could break at any time in the future) (ActionItem1309)
-
* When a user try to publish an article in some communities and there is another article with the same name already published in these communities, an exception is raised and the exception message will be shown listing the commuinties where this problem ocurred. * If the community is moderated, then no message will be shown to the user, but when the moderator try to accept the task, an exception message will be shown informing that that name is already in use. ActionItem1309
-
* copying theme when applying template (ActionItem1311)