306 Commits

Author SHA1 Message Date
14eaad80d1 Extract option building into class + polymorphism 2017-08-24 19:22:07 +02:00
a624dbc7f4 Remove differences between new, new_organization
Now transfers/new.html.erb and transfers/new_organization.html.erb are
identical. All their differences were moved to partials as if we
extracted abstract methods in a class and moved the conditionals within
them.
2017-08-19 21:05:19 +02:00
bf6223b270 Extract transfer sources select 2017-08-19 21:05:19 +02:00
917f16d5c0 Do not allow transfers to same account
It adds a validation on the Transfer model and shows a flash error
message when that happens, without making the actual movement.
2016-11-18 18:12:19 +01:00
39ce959ae4 Revert "Extract GiveTime service"
This reverts commit 6c4202b7364e39365147702b60ba654bcfb194db.
2016-11-18 18:12:19 +01:00
eecc166eec Extract GiveTime service
I only tried to make a transfer and it worked. I followed EDD; going through
each of the errors until it worked, because I didn't find any test for this
action in the controller. Unit testing the service should be the next task.
2016-11-18 18:12:19 +01:00
5cd254c5c9 Merge pull request #209 from coopdevs/seeds-db
Mejorando los datos de inicio seeds.rb
2016-11-04 12:15:51 +01:00
49fc388ff0 Making Sergi happy from our FESC2016 desk 2016-10-22 12:12:44 +02:00
3ca4a78088 Order tags alphabetically 2016-10-07 13:07:27 +02:00
0707631157 more-seed-data 2016-05-20 15:35:46 +02:00
dd602bde57 Add markdown at post description 2016-04-29 10:59:52 +02:00
fabfa90e7a move logic outside the view 2016-01-10 22:02:10 +01:00
0cf7c9521a add Taggable tests, filter tags with 'ignore case', tokenSeparators only by comma 2016-01-10 20:26:36 +01:00
24d938932c New Tagging system using Select2 [WIP] 2016-01-06 19:48:06 +01:00
f5db65b3fb Remove custom themes also from report layout 2015-12-29 18:12:59 +01:00
a6e706c3bb Keep HoundCI happy, and follow the primary docs for default_scope. 2015-11-22 20:45:33 +01:00
5d86e2d3a1 Keep common syntax for scopes. 2015-11-22 20:39:28 +01:00
7e635ee967 Keep hound happy and mark the low specificity of the rescue. 2015-11-22 20:37:44 +01:00
59ef6ea224 update code style 2015-11-22 18:57:12 +01:00
e7333c70b9 Rearrange code in app/models/* 2015-11-22 18:35:59 +01:00
3c8100f486 Merge pull request #170 from coopdevs/fix_decorator_specs
Fix decorator specs and some Travis settings
2015-10-19 10:28:14 +02:00
f9ab80593e Make Hound happy ❤️ 🐕 2015-10-17 17:38:20 +02:00
1b4739c889 Remove depreceations about using Model.find(instance) 2015-10-17 17:32:38 +02:00
ecef8aa1ef ES::Model does not like STI, so include only when inherited 2015-10-17 16:34:46 +02:00
e1719863bf Que no se pueda publicar una oferta/demanda sin título 2015-10-13 22:19:02 +02:00
c0af320a93 Merge branch 'master' of github.com:coopdevs/timeoverflow
* 'master' of github.com:coopdevs/timeoverflow:
  algunas traducciones corregidas
2015-07-29 19:31:04 +02:00
2e684ac765 Not-so-unicode unaccent indexer 2015-07-29 19:23:46 +02:00
ca1fa450e3 Merge pull request #169 from coopdevs/mejora_traducciones
algunas traducciones corregidas
2015-07-29 19:21:27 +02:00
385b2b0bb9 algunas traducciones corregidas 2015-07-29 19:18:29 +02:00
deae9bafd6 Merge pull request #168 from coopdevs/quitar_member_extractos
añadido nombre (memeber_uid) en extracto y mejorado en otros lugares …
2015-07-29 18:50:43 +02:00
3b927fe56a Added super-duper-tokenizer which lowercases and ascii-folds almost everything 2015-07-29 18:48:22 +02:00
ed82e8e843 añadido nombre (memeber_uid) en extracto y mejorado en otros lugares con el metodo member.display_name_with_uid 2015-07-29 18:30:49 +02:00
f8f940050a Lazy recoverable: ures gets sent the same password recovery token for a period of time 2015-07-08 18:48:31 +02:00
ae4b6ffece Pass optional member to post reindex method for bulk operations 2015-06-09 19:34:04 +02:00
61768b8d81 ✂️ 2015-06-09 19:15:07 +02:00
43651f5b9d Added custom callbacks to remove deactivated things from index 2015-06-09 19:09:19 +02:00
79a54c4b4b Added Elasticsearch to better search posts 2015-06-03 18:47:44 +02:00
7925bb7e94 Separate 'active post' and 'from active user' concepts, reformulate scopes and controllers 2015-05-27 19:13:18 +02:00
9f410374d1 Use a better join for active posts 2015-05-27 19:02:25 +02:00
a1e4233f16 Merge pull request #159 from d2bit/bug/hide-inactive-user-on-post-reports
Don't show not active users on post reports.
2015-05-27 17:44:46 +02:00
751fbe27df Fix two problems with posts. Maybe someday I'll write some test..... 2015-05-27 17:43:29 +02:00
823d138bab Add new scope to avoid uneeded joins 2015-05-20 22:51:23 +02:00
c00b4faaa0 New statistics view: all bank transfers 2015-05-06 18:51:03 +02:00
c124496b57 Revert part of d594d57 2015-05-06 18:01:08 +02:00
d594d5759e Use instead of to enable join reuse 2015-05-06 17:51:35 +02:00
de367d5a52 Añadida relación directa account -> organization, para estadísticas! 2015-04-22 19:10:37 +02:00
098e4fa934 Quitar check 'email valido' y esconder emails no validos de vista e informe 2015-04-22 17:57:29 +02:00
87e756c94f Merge remote-tracking branch 'origin/master' into select-org
* origin/master: (30 commits)
  decorators specs, rubocop and i18n
  reports: proper filenames, add mime_type
  pdf exporter with Prawn (1st version); some code reorganization
  no need to require csv here
  csv exporter
  remove deprecated view, it was moved to statistics scope
  added specs for User
  fix rubocop warnings
  robohash avatars
  fixes
  allow delete a comment of movements, only admin
  rubocop
  add style and traductions for paginator
  add links and paginator
  forgot to update comments
  Add parentheses for rubocop.
  Allow organization to have a nil web
  mejorando test
  simplificación de código - rubocop
  simplificación de código
  ...
2015-04-22 17:40:14 +02:00
7c6b21054d Merge pull request #153 from coopdevs/improve_view_movements
Improve view movements
2015-04-22 17:33:54 +02:00
7021cc67c9 Merge pull request #146 from rewritten/patch-1
Add validation of Org web format
2015-04-22 17:33:30 +02:00