408 Commits

Author SHA1 Message Date
Marc Anguera c4699c63aa Only admins of org could access to /petitions/manage (#787) 2025-03-23 17:24:11 +01:00
Marc Anguera Insa b7ef4a6a95 Migrate linter to rubocop-rails-omakase 2025-03-23 16:49:27 +01:00
Francisco José Perejón Barrios 6119ffe286 Upgrade to Bootstrap v5 (#780) 2025-03-22 16:30:47 +01:00
Marc Anguera Insa 153122fe59 fix several issues with new emails 2025-02-01 17:24:33 +01:00
Marc Anguera Insa ffbafdf90c Send emails in background 2025-01-25 16:55:12 +01:00
Marc Anguera Insa db6c315f76 [refactor] Petition: make "pending" the default status 2025-01-03 17:37:36 +01:00
Marc Anguera Insa e9690bc483 add validation to avoid petitions between the same user and organization 2025-01-03 16:57:01 +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
Marc Anguera Insa 3d103a1f25 Notify orgs admins (CCO) when membership remove their membership 2024-12-29 17:55:26 +01:00
Marc Anguera Insa 0b6df07841 redirect users with no membership to organizations list + add org name in new_petition email subject 2024-12-29 16:49:46 +01:00
Marc Anguera Insa fb9348435c Run invisible_captcha only on create action 2024-05-02 23:55:46 +02:00
Marc Anguera Insa 5c19f882f7 integrate invisible_captcha gem in sign-up form 2024-05-01 19:19:28 +02:00
Marc Anguera Insa 8870afe53c Upgrade to Ruby 3 💫 2023-12-08 18:47:40 +01:00
Nicolas Florentin 87139a2141 adds petition button on organizations/show page, plus bug fix and security fix (#717) 2023-12-07 17:33:00 +01:00
Nicolas Florentin b44d5593a2 fix locale was not set until terms acceptance, so the locale selected by the user was lost (#712) 2023-11-23 14:51:38 +01:00
Marc Anguera f4eeff18ba Fix sign up locale 🌐 + some admin improvements 💅 (#682) 2023-04-08 01:14:54 +02:00
Marc Anguera Insa a70ef9b555 [feat] allow organizations to add custom logo (de-hardcodes Redeira custom logo) 2023-02-13 22:14:55 +01:00
Francisco José Perejón Barrios 674a4ae64e translation keys & minor fixes (#669) 2022-12-13 20:52:03 +01:00
Francisco José Perejón Barrios 2c3987d067 [Feat] Confirmation email and new petitions emails (#668) 2022-12-10 17:06:10 +01:00
Francisco José Perejón Barrios 21e0cc5e4d [FIX] users now can modify their profile + bug when clicking the logo for non-members (#667) 2022-12-08 16:12:09 +01:00
Francisco José Perejón Barrios 106cc0d78e Tests, show/hide password and signup validations (#666) 2022-12-06 16:55:38 +01:00
Francisco José Perejón Barrios 7c8aa24b09 [Feat] Manage memberships (#665) 2022-12-05 21:46:07 +01:00
Francisco José Perejón Barrios d91a32b50d [Feat] Signup users (#661) 2022-11-02 22:28:27 +01:00
Marc Anguera Insa 2daded2c91 move avatar logic out of controller to an own PORO: AvatarGenerator 2021-06-16 21:08:33 +02:00
Marc Anguera Insa b8d557a1ea Add avatar file size validation (max 5 MB) 2021-06-16 01:36:27 +02:00
Marc Anguera Insa 608680ffef avatar upload refactoring and cleanup 2021-05-20 22:08:45 +02:00
franpb14 122083a361 fix: crop is now done with Image Processing API
I've also deleted the minimagick gem and all edges have the same width. Issue #635.
2021-05-19 14:27:55 +02:00
franpb14 9671f38283 fix: the avatar parameter is checked
On the mobile if you go to back without selecting photo the modal opens and you can send it without selecting photo.
2021-05-06 17:33:41 +02: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
franpb14 337f79a516 fix: changed the order of the buttons in the tag list
it was also necessary to change a test. Issue #631.
2021-05-03 11:52:23 +02:00
Marc Anguera Insa c8d2eeb6cc users#postcode: add i18n key and added to admin section 2021-04-30 01:43:34 +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 1b29acd751 feat: tags now have member-related autocompletion
Member tags have also been added in the "Tags" section. Issue #623.
2021-04-28 17:15:52 +02:00
franpb14 f274d13dc5 feat: the searcher is working on tags
You can also click on a tag and the search will be executed directly. And the attributes are shown in the show and in the list (only the tags and if there are more than 3, not all). #623.
2021-04-28 14:26:27 +02:00
franpb14 c633459db3 Merge branch 'develop' into feat/tags-postcode-members to update the branch. 2021-04-26 18:29:43 +02:00
Sergi Alonso 1c7651711e Merge pull request #622 from coopdevs/feat/onboarding
Feat: searcher in "/organizations" working
2021-04-25 19:58:29 +02:00
franpb14 3752d653c9 refactor: I've changed the form using rails tools. #623. 2021-04-25 19:11:35 +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
franpb14 2acbeb51a4 refactor: I've incorporated feedback given in #622. 2021-04-24 21:43:01 +02:00
Marc Anguera Insa 1914af848d reports: download_all refactor to make pulling collections more DRY 2021-04-24 17:45:30 +02:00
franpb14 73247da151 feat: now the visitor can search for a timebank in "/organizations"
visitors can now search for their location and matching banks will be listed, and clicking on one will display a message encouraging them to join. Issue #621.
2021-04-22 12:51:12 +02:00
franpb14 482d53fb4c Merge remote-tracking branch 'origin/develop' into feat/download-all-admins to update this branch 2021-04-20 19:24:34 +02:00
franpb14 60eddee7d9 fix: treated error ENOENT
if you try to download the zip repeatedly, this error may appear, so now the algorithm retries it if it happens. It also make sure to close Tempfile.
2021-04-19 19:11:26 +02:00
Marc Anguera Insa 8c99e629b9 refactor Movement#other_side 2021-04-18 17:54:41 +02:00
franpb14 d3ab098f7e feat: Downloading a zip with CSV documents
The new update allows the administrator to download a zip containing all the current CSV documents. Issue #596.
2021-04-16 13:56:35 +02:00
Marc Anguera Insa 34bd8c6810 delete deprecated view organizations#new 2021-03-27 14:38:42 +01:00
Marc Anguera Insa fce1f9fb07 delete ability to create orgs from public part, the superadmin can do it easily in the /admin section 2021-03-27 02:02:25 +01:00
Marc Anguera Insa fa5c885446 small ui & code style tweaks; reuse i18n keys; remove useless comments 2021-03-26 00:05:00 +01:00