28 Commits

Author SHA1 Message Date
b7ef4a6a95 Migrate linter to rubocop-rails-omakase 2025-03-23 16:49:27 +01:00
264a82d7d1 [FIX] keep current locale while using the import from CSV (#684) 2023-04-10 17:22:00 +02:00
84eb627920 Some Admin improvements:
- Rename and refactor CsvDb => UserImporter + add specs (I have resurrected an old branch from Pau: https://github.com/coopdevs/timeoverflow/compare/improve-csv-user-import)
- ActiveAdmin settings clean up. This file is very long and always out of date, better to check docs online ;p
- ActiveAdmin improve menu: add current user + add all available locales

Co-authored-by: Pau Pérez Fabregat <saulopefa@gmail.com>
2021-03-15 23:57:45 +01:00
f0c6a9e8f1 Update to Rails 6.1 2021-01-08 18:08:56 +01:00
05c2228c28 [specs] DRY initialization by using the .rspec file 2020-12-21 21:40:23 +01:00
2108e6c59b Adding multi transfers feature 2019-05-07 09:59:58 +02:00
b94b1d67bd Return default description when description empty 2018-09-27 13:10:38 +02:00
22a26c9e23 Merge pull request #377 from coopdevs/feature/scheduled-jobs
Scheduled job to send push notifications for Post resource
2018-09-11 13:36:35 +02:00
bcb86848ee Refactor PushNotificatiosn::Creator with a Base class 2018-09-03 20:44:33 +01:00
22e09ed293 Use RSpec scope and avoid global namespace access. More info: https://relishapp.com/rspec/rspec-core/v/3-0/docs/configuration/global-namespace-dsl
Closes #362
2018-08-30 20:52:48 +02:00
d94684e6c0 Use Post title as notification title 2018-08-23 15:21:57 +02:00
269874727d Fix notifications broadcast 2018-08-23 14:46:55 +02:00
e2471106ca #send is a word reserved to Ruby... :boom 2018-08-23 14:46:17 +02:00
775176649d Use standard ruby net http instead of Expo client 2018-08-23 10:22:41 +02:00
5c114f4cb4 Flag push_notifications as processed 2018-08-20 12:49:20 +02:00
67c4fe87da Add scheduled job to send push notifications 2018-08-20 12:49:20 +02:00
cb16c03237 Create new PushNotifications with title 2018-08-20 12:49:20 +02:00
8621a65f6d Add conditions to PushNotification creation 2018-08-20 12:33:42 +02:00
77477985d1 Better background job expectation 2018-05-29 16:52:25 +02:00
6f210fc6dd Run background jobs inline in test environment 2018-05-29 16:52:25 +02:00
44211daa36 Enqueue PushNotification background job on Post persistence 2018-05-29 16:52:25 +02:00
e298a3c302 Add PushNotification creation logic 2018-05-29 16:52:25 +02:00
b4955815b3 Create :created and :updated event for Transfer 2018-05-17 09:33:20 +02:00
dabf7e4e3e Create :created and :updated event for Member 2018-05-17 09:18:26 +02:00
898ee75670 Fix and improve specs 2018-05-16 10:46:14 +02:00
e8c6ef1f55 Added MemberPersister 2018-05-01 12:08:22 +01:00
440051ac12 Added TransferPersister 2018-05-01 12:08:05 +01:00
ae517a49a0 Added PostPersister 2018-05-01 09:59:03 +01:00