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.
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.
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
- Rename and refactor CsvDb => UserImporter + add specs (I have resurrected an old branch from Pau: https://github.com/coopdevs/timeoverflow/compare/improve-csv-user-import)
- ActiveAdmin settings clean up. This file is very long and always out of date, better to check docs online ;p
- ActiveAdmin improve menu: add current user + add all available locales
Co-authored-by: Pau Pérez Fabregat <saulopefa@gmail.com>
As far as I know our DNS provider redirects itself timeoverflow.org to
www.timeoverflow.org instead of our Nginx, as we are used to, but we're
seeing people getting ERR_CONNECTION_REFUSED, with mobile data only,
they say. We hope this may fix it but we're totally blind here.
We missed the mess we have at DNS level with the www domain. We need
this to make it work in production. IMO it's much more explicit add
a host per line instead of the regex.
It was used while migration the production server and since this one and
production configs are almost exact copies (just rails_env differs) it's
no longer needed.
And this brings simplicity back to this repo.
The most noticeable change is the removal of `url` from production's
database config as DATABASE_URL got removed in
https://github.com/coopdevs/timeoverflow-provisioning/pull/21 two years
ago and it's true in production:
```
timeoverflow@timeoverflow-production:~$ env | grep DATABASE
DATABASE_NAME=xxx
DATABASE_USER=xxx
DATABASE_PASSWORD=xxx
```
This does the trick. I never understood what that metal.* is but it now
times out. Manual configuration in the old production server not
persisted anywhere else?
I used locally to deploy with Capistrano so this is working.