110 Commits

Author SHA1 Message Date
Saverio Trioni 966b68e876 fix: skip seeds when running in production environment (#832)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-07 10:07:19 +02:00
Marc Anguera 5437e14ce8 [deps] upgrade to Rails v7.2 and ActiveAdmin v3 (#777) 2025-03-22 16:40:14 +01:00
Marc Anguera Insa 1e7454f22f introduce "highlighted" flag for organizations (they will be featured in the organization list) 2024-12-30 18:30:14 +01:00
Nicolas Florentin 0ddc6bb1f4 adds not null db constraint on members.member_uid, adds unique index on members.member_uid (#713) 2023-11-23 16:10:58 +01:00
Francisco José Perejón Barrios e2aeba75d6 [NZ changes] reset password fixes, translatable terms, Inquiry -> Request, max hours in transfers removed (#678)
Co-authored-by: Marc Anguera Insa <srmarc.ai@gmail.com>
2023-04-01 21:59:10 +02:00
Marc Anguera Insa 25e32fb0ad Refactor categories icons. Now they are editable from the admin section. 2023-03-15 01:20:12 +01:00
Marc Anguera Insa c3dc673827 Merge branch 'develop' into manage_users_base 2023-03-14 22:17:13 +01:00
Marc Anguera afafeaf38a TravisCI -> GH Actions (#648) 2023-03-14 22:10:02 +01:00
Marc Anguera Insa cd69356016 custom icon mapping for Post categories (ref: #673) 2023-02-03 01:10:06 +01:00
Francisco José Perejón Barrios d91a32b50d [Feat] Signup users (#661) 2022-11-02 22:28:27 +01:00
franpb14 b768c425b9 Merge branch 'develop' into feat/profile-photos to update this branch. 2021-05-06 16:45:38 +02:00
franpb14 a0b7f1970b feat: users can now upload their photos of their computer
they can also crop the photos (Implemented using Minimagick and JavaScript) into a square shape. Issue #627.
2021-05-05 22:53:06 +02:00
Marc Anguera Insa 7a74013dd6 remove identity_document from users (closes #630) + gems updates 2021-05-03 22:30:11 +02:00
Marc Anguera Insa 4d9d6a7c78 some refactoring for members tags 2021-04-30 01:25:21 +02:00
franpb14 2d7ecbfd34 refactor: I've incorporated all feedback
And I have also added @member in case of failure of the forms.
2021-04-29 23:15:43 +02:00
franpb14 b3aa6d0f1e fix: I have run the migrate by changing the postgres version to 9.4. #623. 2021-04-26 16:35:11 +02:00
franpb14 59ae149956 feat: tags and postcode attributes have been added
postcode was added to users and tags to members. For the postcode was added to users and tags to members. For the postcode I used the rails form but for the tags I used Html. Issue #623.
2021-04-25 17:57:04 +02:00
Marc Anguera Insa 2bdbe55647 This flag was shipped in postgresql 9.5 and we are using 9.4 right now (detected on Travis logs: https://travis-ci.org/github/coopdevs/timeoverflow/builds/749899949#L476).
Taking a look to the structure.sql file, it seems it was generated using postgresql 9.5 (https://github.com/coopdevs/timeoverflow/pull/465/commits/e09469ce1aae16b0728fdeb3c3f86ecbdd61217d#diff-1dd5a8f580b9615769ddc19a64a98f455d9d20eb149c443f41d9d3c797d39b12R5), so maybe at some point we should fix this situation (a dump from current production?).
2020-12-16 00:36:42 +01:00
Marc Anguera Insa 15dca38b8f merge with develop 2020-12-15 21:32:57 +01:00
Marc Anguera Insa 4bf880e05b Revert "Revert "Merge pull request #465 from coopdevs/feature/switch-from-elastic-to-pg-search-la-buena""
This reverts commit 096fcce484.
2020-10-06 21:10:03 +02:00
Marc Anguera Insa 29c8ec03fc trying to fix travis (1st attempt) 2020-04-04 18:01:33 +02:00
Marc Anguera Insa 0bacdebc15 Merge branch 'develop' into rails_6 2020-02-26 00:04:29 +01:00
Pau Pérez Fabregat 48c3e9938f Merge pull request #519 from coopdevs/remove-unused-plpgsql-extension
Remove plpgsql PostgreSQL extension
2019-10-09 16:41:42 +02:00
Pau Perez 4392df1345 Remove pg_trgm PostgreSQL extension
No need to install this extension used by full-text search until we
don't replace ElasticSearch with it.

Still, it was added in `f514c35` in the early days (2013) for user
search but it doesn't seem to be used.

You @enricostano and @markets might now better.
2019-10-07 15:13:45 +02:00
Pau Perez 4bfbeed273 Remove plpgsql PostgreSQL extension
It was added in the very beginning of the project in commit `e37eb7d`
but it doesn't seem to be used anywhere. Leftovers of an old copy-paste?
2019-10-07 14:59:46 +02:00
Marc Anguera Insa c0071212b2 more gem updates; minor js refactor; first pass over tests and first fixes :) 2019-09-26 02:16:05 +02:00
enricostano 096fcce484 Revert "Merge pull request #465 from coopdevs/feature/switch-from-elastic-to-pg-search-la-buena"
This reverts commit 9f7b99a794, reversing
changes made to ad9a8f0960.
2019-09-20 11:22:44 +02:00
Enrico Stano e09469ce1a Use SQL for schema instead of Ruby 2019-05-24 18:19:21 +02:00
Enrico Stano aab779c2ca Add tsvector column, trigger, index and unaccent extension 2019-05-24 01:24:23 +02:00
Marc Anguera Insa 3506af36f6 🔥 drop unused user_joined_post table 2019-04-12 18:34:31 +02:00
Marc Anguera Insa 544f80f492 🔥 deprecated attributes in posts table (closes #471) 2019-04-11 21:37:08 +02:00
Marc Anguera Insa e70844e194 Remove Post's publisher 2019-03-22 19:08:21 +01:00
Jorge Morante 4db1ce8f2f add is_group feature 2019-03-19 14:17:28 +01:00
Marc Anguera Insa 5ae50b3001 add model and DB constraint for Movement#amount (can't be equal to 0) 2019-02-17 14:29:10 +01:00
Maxim Colls 15f6a9381d Added migration to process invalid PushNotifications 2018-09-24 17:54:04 +01:00
Maxim Colls fee1aac955 Fixed migrations with defaults 2018-09-03 20:43:33 +01:00
Enrico Stano 8069d51730 Add title to PushNotification 2018-08-20 12:49:20 +02:00
Maxim Colls 42e6094b85 Added migration to add a push_notifications columns to the users table 2018-06-19 15:59:42 +01:00
Enrico Stano a2d4b8cad4 Remove unique index on events 2018-05-29 16:52:25 +02:00
Enrico Stano 65a83a7c1c Add PushNotification model 2018-05-28 18:25:14 +02:00
Marc Anguera Insa f9f0472467 Remove password_digest from users table (fixes #365) 2018-05-25 16:15:08 +02:00
Marc Anguera Insa 895cccada9 Merge branch 'develop' into orgs_minor_refactor 2018-05-18 11:05:40 +02:00
Enrico Stano 0eb2536ae3 Use ActiveRecord DSL as much as possible 2018-05-17 08:39:16 +02:00
Enrico Stano 43a0f4f7bb Use Rails enum, backed by an integer column with CHECK constraint 2018-05-16 10:22:23 +02:00
Enrico Stano b08f271a7f Modify events table migration with plain SQL 2018-05-16 10:22:23 +02:00
Maxim Colls ae0d93972e Added dashbaord events 2018-05-16 10:19:58 +02:00
Marc Anguera Insa b9d9b9636c organizations: add constraints at db level: not nullable name, unique-index name 2018-05-14 21:45:52 +02:00
Enrico Stano 8ae3a3ba2e Merge pull request #329 from coopdevs/feature/device-tokens
Added the device_tokens endpoint
2018-04-11 13:06:52 +02:00
Maxim Colls a8ea1acce9 Added uniqueness validation on DeviceToken user/token pair 2018-03-14 14:47:52 +00:00
Marc Anguera Insa 74add4c8b1 Remove unused file db/structure.sql.
It was totally outdated regarding current DB schema. I neither found any reference on the infrastructure side (provisioning repo). So time to ✂️
2018-03-07 21:55:59 +01:00