Signup and account management app for Kosmos/LDAP Accounts https://accounts.kosmos.org
Go to file
Basti 8ad85636d9
continuous-integration/drone/push Build is passing Details
Create LDAP users asynchronously
2021-02-02 21:16:24 +01:00
app Create LDAP users asynchronously 2021-02-02 21:16:24 +01:00
bin Hello kosmos. 2020-11-07 14:49:52 +01:00
config Create LDAP users asynchronously 2021-02-02 21:16:24 +01:00
db Add paid_at date to donations 2020-12-19 13:28:47 +01:00
lib Add task for generating invitations 2020-12-02 15:23:18 +01:00
log Hello kosmos. 2020-11-07 14:49:52 +01:00
public Add cosmic background to header 2021-02-01 23:10:54 +01:00
spec Create LDAP users asynchronously 2021-02-02 21:16:24 +01:00
tmp Hello kosmos. 2020-11-07 14:49:52 +01:00
vendor Hello kosmos. 2020-11-07 14:49:52 +01:00
.browserslistrc Hello kosmos. 2020-11-07 14:49:52 +01:00
.drone.yml Don't run caching steps on CI when not master or PR 2020-12-03 14:56:11 +01:00
.env.example Exchange XMPP contacts when invitee signs up 2020-12-08 19:16:08 +01:00
.env.production Add missing port number to ejabberd API base URL 2020-12-13 13:54:33 +01:00
.env.test Exchange XMPP contacts when invitee signs up 2020-12-08 19:16:08 +01:00
.gitignore Create LDAP users asynchronously 2021-02-02 21:16:24 +01:00
.rspec Hello kosmos. 2020-11-07 14:49:52 +01:00
.ruby-version Hello kosmos. 2020-11-07 14:49:52 +01:00
Gemfile Add Sidekiq, configure admin access to Web UI 2021-02-02 11:44:17 +01:00
Gemfile.lock Add Sidekiq, configure admin access to Web UI 2021-02-02 11:44:17 +01:00
LICENSE Add AGPL license 2020-11-18 15:32:27 +01:00
README.md Create LDAP users asynchronously 2021-02-02 21:16:24 +01:00
Rakefile Hello kosmos. 2020-11-07 14:49:52 +01:00
babel.config.js Hello kosmos. 2020-11-07 14:49:52 +01:00
config.ru Hello kosmos. 2020-11-07 14:49:52 +01:00
package.json Hello kosmos. 2020-11-07 14:49:52 +01:00
postcss.config.js Hello kosmos. 2020-11-07 14:49:52 +01:00
yarn.lock Hello kosmos. 2020-11-07 14:49:52 +01:00

README.md

Akkounts

This app allows Kosmos/LDAP users to manage their accounts, including credentials, invites, donations, etc..

Features

  • Log in with existing LDAP account
  • Reset account password by providing both username and email address
  • Reset account password when logged in, via reset email
  • Log in with admin permissions
  • View LDAP users as admin
  • Sign up for a new account via invitation
  • List my donations
  • Invite new users from your account
  • Sign up for a new account by donating upfront
  • Sign up for a new account via proving contributions (via cryptographic signature)
  • ...

Planned features are not at all a complete or static list, of course. Suggestions and pull requests welcome!

Development

Rails app

Installing dependencies:

bundle install
yarn install

Setting up local database (SQLite):

bundle exec rails db:create
bundle exec rails db:migrate

Running the dev server:

bundle exec rails server

Running the background workers (requires Redis):

bundle exec sidekiq -C config/sidekiq.yml

Running all specs:

bundle exec rspec

LDAP server

TODO make it easy to run a local Kosmos LDAP server for development, without manual LDIF imports etc. (or provide a staging instance)

Documentation

Testing

LDAP / Auth

Asynchronous jobs/workers

License

GNU Affero General Public License v3.0