53 Commits

Author SHA1 Message Date
b7ef4a6a95 Migrate linter to rubocop-rails-omakase 2025-03-23 16:49:27 +01:00
6119ffe286 Upgrade to Bootstrap v5 (#780) 2025-03-22 16:30:47 +01:00
de9d58014f [docs] add cooler 😎 screenshots 🖼️ of the UI 2024-04-17 00:27:13 +02:00
78d0fb0015 makes member searches accent insensitive 2023-12-07 09:36:33 +01:00
8332160fa9 member can be searched by username ignoring accents (#710) 2023-11-20 16:34:46 +01:00
2b383af210 fix tests suite (#709) 2023-11-20 16:34:16 +01:00
106cc0d78e Tests, show/hide password and signup validations (#666) 2022-12-06 16:55:38 +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
3685563d87 i18n: add keys related to avatar upload; minor code style adjustments 2021-05-21 21:42:38 +02:00
608680ffef avatar upload refactoring and cleanup 2021-05-20 22:08:45 +02:00
b768c425b9 Merge branch 'develop' into feat/profile-photos to update this branch. 2021-05-06 16:45:38 +02:00
64438a015b tests: image upload methods are covered. Issue #627. 2021-05-06 15:13:48 +02:00
4d9d6a7c78 some refactoring for members tags 2021-04-30 01:25:21 +02:00
1bf31f7483 tests: covered and tested the new functionality. #623. 2021-04-28 21:28:57 +02:00
49a754bc30 tests: I've added the attributes to the tests already implemented. #623. 2021-04-26 18:27:30 +02:00
fa5c885446 small ui & code style tweaks; reuse i18n keys; remove useless comments 2021-03-26 00:05:00 +01:00
42bc0f2d9e refactoring: I implemented the new feedback received
Identation, simplify code, i18n...
2021-03-25 17:33:30 +01:00
04e19d74f1 fix: implemented the feedback received in the pull request
I reseted my branch to the last commit (the one where the login behavior remained unchanged) and I applied the feedback received in the pull request. Resolves #472.
2021-03-23 16:16:13 +01:00
24abdf6aaa tests: testing the new methods
I tested both the new controller and the method in applicaction_controller. Issue #472
2021-03-17 20:24:16 +01:00
05c2228c28 [specs] DRY initialization by using the .rspec file 2020-12-21 21:40:23 +01:00
7603b72f57 update to latest Rubocop + start fixing tests (from 95 failures to 31) 2020-12-15 22:21:14 +01:00
8bc377cb6c Merge branch 'develop' into rails_6 2020-04-03 20:22:01 +02:00
0bacdebc15 Merge branch 'develop' into rails_6 2020-02-26 00:04:29 +01:00
d977d5366e add spec for phones search 2020-02-25 22:53:42 +01:00
17bd6afec1 fixing features specs in travis 2020-02-23 18:09:40 +01:00
c0071212b2 more gem updates; minor js refactor; first pass over tests and first fixes :) 2019-09-26 02:16:05 +02:00
8712b410c8 adapt specs to new behavior: members page sorted by last_sign_in_at desc by default 2019-05-10 21:47:27 +02:00
e70844e194 Remove Post's publisher 2019-03-22 19:08:21 +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
fc3fa27c6c Re-implement the member_uid searcher by avoiding the column casting thing (gives some problems when sorting the "casted" column as an string). The new strategy: rename the ransacker so the cast only happens when filtering 2018-08-15 17:40:07 +02:00
834519973d Merge branch 'develop' into search_member_uid 2018-08-08 12:53:43 +02:00
6716053303 Fixed spec 2018-07-04 16:15:00 +01:00
34a0e00a35 specs: check the relevant position in sorting tests 2018-05-19 13:55:49 +02: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
f07b502970 Merge branch 'develop' into search_member_uid
Conflicts:
	app/views/users/index.html.erb
2018-05-17 21:17:42 +02:00
edd4797d43 Make the member list view do ransack on members table 2018-05-14 02:37:58 +02:00
317db4e732 CR suggestions 2018-05-14 01:49:03 +02:00
a60cdacde1 Allow to search users by member_uid 2018-05-12 20:52:19 +02:00
cd259683ae Sorting by balance spec wasn't stable, check just th relevant position 2018-05-09 03:29:17 +02:00
8b7595caee Fix last test 2018-05-09 03:20:23 +02:00
67f84238e1 Added missing tests; extract partials from row 2018-05-09 02:38:52 +02: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
47812a90f0 Replace give_time link from users#show page 2018-01-18 17:26:19 +01:00
e152e689d1 Use expect() syntax everywhere 2015-10-17 17:29:25 +02:00
e91c9bdad6 Error shown now when trying to create a new user with an existing email address 2014-12-04 10:30:10 +01:00
f414460bf9 fake user email is created if blank email is provided. Fixed regex to make sure a valid email address is entered. User creation errors are properly showing in view 2014-12-03 02:22:20 +01:00