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
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
674a4ae64e
translation keys & minor fixes ( #669 )
2022-12-13 20:52:03 +01: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
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
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
f47fbdd4ed
Redirect to previous page
2021-03-10 00:18:35 +01:00
f0c6a9e8f1
Update to Rails 6.1
2021-01-08 18:08:56 +01: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
01456563f8
remove unused store_location + move switch_lang action to ApplicationController
2019-02-20 22:18:12 +01:00
aa0720663c
Rescue ActiveRecord::RecordNotFound and render a 404
2018-07-05 17:24:20 +02:00
75aa85d335
upgrading Devise to latest release
2018-03-07 21:39:35 +01:00
22799f9ca4
little reorganization in controllers code
2015-11-22 19:31:27 +01:00
601aece453
Remove 'smart' redirect after login, it was not so smart
2015-06-03 19:10:44 +02:00
ed87323678
Fix sporadic redirect on /
2015-05-27 19:02:11 +02:00
5c5294ab05
Very beautiful login page - upgrade ruby and add slim
2015-05-27 18:21:14 +02:00
275732f822
Use current member for policies
2015-05-20 18:09:06 +02:00
71f660cf83
Hound
2015-04-22 17:46:21 +02:00
8de1f62696
Select from organizations of a user
2015-04-15 19:31:37 +02:00
e9bfa56f13
Merge branch 'master' into user_configuration
2015-04-12 23:13:43 +02:00
1a8a49777c
set locale for users
2015-03-29 22:11:32 +02:00
b0166b6a78
small refactoring
2015-03-27 16:01:06 +01:00
5216e55be9
redirect back to current page after sign in and add info text on puclic posts
2015-03-19 16:40:50 +01:00
3b4db380ee
Change default redirection #2
...
Deleted white space
2014-12-15 13:31:19 -05:00
5736c0c7a9
First commit of change redirection
...
i see the logic has a redundace in if user.members.any? &:manager, the
two ways has same result but if in the future for some reson the team
need change this we'll can customize each one
2014-12-15 12:27:33 -05:00
fa46e271d6
Pundit-based user authorization
...
* Added pundit last version
* Added user policy (rely on single-org-per-user for now)
* Apply policies on new/create/update actions
2014-11-30 04:20:05 +01:00
edd93ac428
Avoid very silly NPE
2014-11-28 03:42:28 +01:00
81eec1601c
Set the locale from the context, plus some small fixes
2014-11-28 02:59:44 +01:00
31efb0a072
fixed issue setting up right language
2014-11-16 12:44:10 +01:00
e2b4a4588c
Created rspec tests for global controller and fixed two defects
2014-11-16 12:03:41 +01:00
380d3d5910
devise working in english and translations for home cat and engl
2014-11-14 18:54:36 +01:00
e63ba69bb8
Removed old index page.
2014-05-22 20:41:05 +02:00
f9beb689a0
Simple view for non-member users.
2014-05-22 20:37:42 +02:00
c4ae78ccda
redirect to users_path after sign in
2014-05-06 05:54:19 +02:00
a84f83d63c
Added Pundit and post->org direct association
2014-01-19 17:58:28 +01:00
8e274ffb55
remove useless wrapper for devise controller
2014-01-01 20:18:22 +01:00
b359b83fd9
Added action mailer configuration based on ENV. Added username field in sign up view. Added devise support in specs.
2013-12-31 13:31:36 +01:00
f197d85a59
Remove persona. Bye bye.
2013-12-27 20:59:37 +01:00
fbc0b2894c
Flow to accept the terms page.
2013-12-27 20:23:58 +01:00
88369044fd
added devise things
2013-12-27 17:27:23 +01:00
7b6eb405e5
Added membership, and refactored with inherited_resources.
2013-11-04 04:29:50 +01:00
0955982ee4
Superusers are defined in ENV (more secure than database).
...
Note: use an `.env' file and set ADMINS to a space-separated
list of emails, to se the superusers in development and test.
2013-11-03 23:27:02 +01:00
e5d553e55a
Added pg-specific array-based tags.
...
some fixes to controllers too.
2013-11-03 23:05:51 +01:00
f3c25d87ea
Protect the admin from non-superusers.
2013-10-31 03:20:13 +01:00
3e77688d7b
The local filter should never block the flow
2013-10-30 08:07:49 +01:00
e79cdc3380
Added active_admin. Awesome!!!
2013-10-29 23:58:55 +01:00