19 Nov, 2015
1 commit
18 Nov, 2015
1 commit
-
Custom fields can be added to any profile through the admin panel in the 'Fields' section. They have the same behaviour as the current Noosfero's fields (active, signup, required and privacy). Signed-off-by: Fabio Teixeira <fabio1079@gmail.com> Signed-off-by: Gustavo Coelho <gust.rod.coelho@gmail.com> Signed-off-by: Joenio Costa <joenio@colivre.coop.br> Signed-off-by: Macartur de Sousa <macartur.sc@gmail.com> Signed-off-by: Marcos Ramos <ms.ramos@outlook.com> Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com> Signed-off-by: Pedro de Lyra <pedrodelyra@gmail.com> Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
17 Nov, 2015
1 commit
-
It uses more modern Ruby syntax, but it's mostly the same thing.
11 Sep, 2015
1 commit
04 Sep, 2015
1 commit
28 Aug, 2015
1 commit
13 Aug, 2015
2 commits
12 Aug, 2015
1 commit
11 Aug, 2015
2 commits
-
The id was necessary for the has_many :through. Also add indexes and timestamps and fix typo on table name
-
All scraps and action trackers from profile were loaded at once as will_paginate can't change SQL when find_by_sql is used. Also, eager load activities to make it O(3) instead of O(n). This increases performance by ~30% on profiles with lots of scraps/action trackers.
10 Aug, 2015
1 commit
24 Jul, 2015
3 commits
-
:conditions will replace previous scopes in rails4
12 Jul, 2015
1 commit
-
Select filter query from 8ms to 1ms
25 Jun, 2015
1 commit
17 Jun, 2015
2 commits
-
- Added image label - Added image to article body - Changed some minor positioning Signed-off-by: André Bernardes <andrebsguedes@gmail.com> Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com> Signed-off-by: Fábio Teixeira <fabio1079@gmail.com> Signed-off-by: Gabriela Navarro <navarro1703@gmail.com> Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
16 Jun, 2015
2 commits
-
Speed up role assignments fetch http://noosfero.org/Development/ActionItem3197 See merge request !252
15 Jun, 2015
1 commit
-
Conflicts: lib/noosfero/plugin.rb test/unit/article_test.rb test/unit/person_test.rb
12 Jun, 2015
2 commits
-
Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com> Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com> Signed-off-by: Fabio Teixeira <fabio1079@gmail.com> Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
11 Jun, 2015
2 commits
-
See merge request !563
-
Whenever you have 2 or more tags with the same name but different cases, ActsAsTaggableOn returns an empty list of objects tagged with either of the tags. To solve this problem, we must not have tags with different cases stored. Performance was my primal concern on this migration since we have instances that have over 130k tags registered. So I decided to convert every tag to lower case. This is the fastest way I could conceive this migration and still it might take a lot of time. Here is basic resume of what it basically does: x: number of new downcased tags created. y: number of oddcased tags. z: number of tags 1. Find all tags do not have a downcased form already created - [1 fast select query]. 2. Create a downcased version of the above queries - [x slow update queries but n is usually low because a minority of tags have odd case and all different cases of a single word generate only 1 query]. 3. Update taggings relations based on new ids - [1 slow update and 2 join queries]. 4. Updates the taggings_count of every tag - [1 slow update with z fast selects] 5. Delete all unused tags tags - [1 slow delete query]. Signed-off-by: Larissa Reis <larissa@colivre.coop.br>
10 Jun, 2015
1 commit
08 Jun, 2015
1 commit
05 Jun, 2015
1 commit
03 Jun, 2015
1 commit
02 Jun, 2015
7 commits
-
Conflicts: app/models/article.rb app/models/comment.rb app/models/organization.rb app/models/profile.rb app/models/user.rb lib/noosfero/api/api.rb lib/noosfero/api/entities.rb lib/noosfero/api/helpers.rb lib/noosfero/api/session.rb lib/noosfero/api/v1/comments.rb test/unit/person_test.rb
01 Jun, 2015
2 commits
-
fixes the error pointed by Daniela Feitosa: https://gitlab.com/noosfero/noosfero/commit/1c125da767ba502b800bd58896ed1aaac828a092#note_1316719
30 May, 2015
1 commit