110 Commits

Author SHA1 Message Date
fb9348435c Run invisible_captcha only on create action 2024-05-02 23:55:46 +02:00
5c19f882f7 integrate invisible_captcha gem in sign-up form 2024-05-01 19:19:28 +02:00
f4eeff18ba Fix sign up locale 🌐 + some admin improvements 💅 (#682) 2023-04-08 01:14:54 +02:00
2c3987d067 [Feat] Confirmation email and new petitions emails (#668) 2022-12-10 17:06:10 +01:00
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
106cc0d78e Tests, show/hide password and signup validations (#666) 2022-12-06 16:55:38 +01:00
d91a32b50d [Feat] Signup users (#661) 2022-11-02 22:28:27 +01:00
2daded2c91 move avatar logic out of controller to an own PORO: AvatarGenerator 2021-06-16 21:08:33 +02:00
b8d557a1ea Add avatar file size validation (max 5 MB) 2021-06-16 01:36:27 +02:00
608680ffef avatar upload refactoring and cleanup 2021-05-20 22:08:45 +02:00
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
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
b768c425b9 Merge branch 'develop' into feat/profile-photos to update this branch. 2021-05-06 16:45:38 +02:00
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
4d9d6a7c78 some refactoring for members tags 2021-04-30 01:25:21 +02:00
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
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
3752d653c9 refactor: I've changed the form using rails tools. #623. 2021-04-25 19:11:35 +02:00
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
d36bf02fb6 fix: deactivated users cannot browse through the timebank
A user whose account has been deativated and tries to navigate through any opttion will be redirected to a page showing all the timebanks to which they are a member and they can see the information to contact the admin. Issue #472
2021-03-17 11:49:30 +01:00
f0c6a9e8f1 Update to Rails 6.1 2021-01-08 18:08:56 +01:00
a7fbf87f5c adapt to new Arel method 2020-04-03 20:10:47 +02:00
c0071212b2 more gem updates; minor js refactor; first pass over tests and first fixes :) 2019-09-26 02:16:05 +02:00
27be159c1d Rails 6, first commit! the app boots fine and seems to work fine as well 2019-09-25 22:43:20 +02:00
af7ecf81d0 sort members by last_sign_in_at by default 2019-05-09 22:54:32 +02:00
9208d17bf0 Revert sorting by user_last_sign_in_at 2018-10-19 17:27:15 +02:00
b0d675ce92 Sort members by last_sign_in_at 2018-10-19 15:16:44 +02:00
3503172584 members list: paginate with 20 per page (closes #422) 2018-09-21 00:47:46 +02:00
98713d6d7d Removed inactive users from /members 2018-08-21 17:31:28 +01:00
d494993bff Members page refactor 2018-08-18 16:54:52 +01:00
834519973d Merge branch 'develop' into search_member_uid 2018-08-08 12:53:43 +02:00
6bed3f2cb3 Added push notifications option in user profile 2018-06-19 15:59:42 +01:00
22cda5d1fd - Fix ransacker casting (https://github.com/activerecord-hackery/ransack/wiki/Using-Ransackers#4-convert-an-integer-database-field-to-a-string-in-order-to-be-able-to-use-a-cont-predicate-instead-of-the-usual-eq-which-works-out-of-the-box-with-integers-to-find-all-records-where-an-integer-field-id-in-this-example-contains-an-input-string)
- Added sortable column on member_uid

- Removed a couple of old comments
2018-05-18 02:12:59 +02:00
d42625c46b Nicer encapsulation of search params 2018-05-14 03:02:29 +02:00
edd4797d43 Make the member list view do ransack on members table 2018-05-14 02:37:58 +02:00
8b7595caee Fix last test 2018-05-09 03:20:23 +02:00
5c2c25b57a WIP 2018-05-09 00:53:08 +02:00
f6e512805f WIP 2018-05-09 00:48:35 +02:00
2d3bb1c096 Fix users list sorting
ActiveRecord doesn't notice that we need to join with `members` in two
parts of the ActiveRecord::Relation and it joins it two times adding
an alias called `members_users`, instead of joining that table just once.

As the constraint on the `organization_id` was referencing the
`members_users` table this wasn't picked up by Postgres while joining
the tables. Specifically, when joining `users` with `members`, thus
returning all members of a user, regardless of their organization.
2018-01-30 17:11:28 +01:00
7cc5b58a89 Fix sort users by their member_uid
This was done with angular in the client side so far. Now fetching the
users list was moved to the backend and so has to be the sorting.
2018-01-30 14:06:44 +01:00
83c575df08 Show data for membership in current organization
Now, we show the first membership of the user regardless of the
organization it belongs to.
2018-01-30 13:01:54 +01:00
79e963a0d8 Merge pull request #272 from knoopx/refactor-users-index
Refactor Users#index to paginate and filter on the backend. Closes #266
2018-01-26 16:51:36 +01:00
48cd94705e Enable sorting by balance in users list 2018-01-25 16:42:18 +01:00
0130570d55 Implement pagination & search for users list 2017-10-18 18:32:05 +02:00
0fa4668fac Remove dead #give_time actions 2017-08-16 20:20:47 +02:00
9c7cfd0d2f 🔥 responders gem 2016-01-18 21:55:10 +01:00
22799f9ca4 little reorganization in controllers code 2015-11-22 19:31:27 +01: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
8de1f62696 Select from organizations of a user 2015-04-15 19:31:37 +02:00