13 Nov, 2015

1 commit

  • - Add several endpoints
    - Add some API documentation
    - Fix plugins API hotspot
    
    Signed-off-by: Victor Costa <vfcosta@gmail.com>
    Signed-off-by: Leandro Nunes dos Santos <leandronunes@gmail.com>
    Signed-off-by: Evandro Junior <evandrojr@gmail.com>
    Signed-off-by: Rodrigo Souto <rodrigo@colivre.coop.br>
    Signed-off-by: Caio SBA <caio@colivre.coop.br>
    Signed-off-by: Carlos Purificacao <carloseugenio@gmail.com>
    Signed-off-by: Ábner Silva de Oliveira <abner.oliveira@serpro.gov.br>
    Signed-off-by: Aurelio A. Heckert <aurelio@colivre.coop.br>
    Signed-off-by: Evandro Magalhaes Leite Junior <evandro.leite@serpro.gov.br>
    Signed-off-by: Marcelo Júnior <maljunior@gmail.com>
    Signed-off-by: Michel Felipe de Oliveira Ferreira <michel.ferreira@serpro.gov.br>
    Signed-off-by: Larissa Reis <larissa@colivre.coop.br>
    Signed-off-by: ABNER SILVA DE OLIVEIRA <abner.oliveira@serpro.gov.br>
    Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>
    Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com>
    Signed-off-by: Simião Carvalho <simiaosimis@gmail.com>
    Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
    Marcos Pereira
     

11 Sep, 2015

1 commit


07 Aug, 2015

1 commit


06 Aug, 2015

2 commits


20 Jun, 2015

1 commit

  •   scopes are defined as class methods on the singleton of the class they
      were named instead of the class that calls them, so regardless if they
      are called by Enterprise or Community, they were defined on
      Organization, so #visible_for_person() always gives us
        `WHERE "profiles"."type" IN ('Organization', 'Enterprise', 'Community')`
    
      This wouldn't be a problem if rails 3.2 didn't merge the WHERE clauses
      of nested scopes, which causes the previous filtering by type of
      Enterprise/Community to be thrown away in favor of the broader one.
    
      This was fixed in later rails versions but we want to be able to
      search only for Enterprises or Communities, so I translated the scope
      to a class method on the parent class Organization, so it can be
      inherited by the other.
    Larissa Reis
     

02 Jun, 2015

7 commits