Signup and account management app for Kosmos Accounts https://accounts.kosmos.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
raucao 088961dfec Merge pull request 'Switch to shared Kosmos font(s)' (#30) from feature/webfonts_open-sans into master 5 months ago
app Load remote fonts before other stylesheets 5 months ago
bin Hello kosmos. 9 months ago
config Create LDAP users asynchronously 6 months ago
db Add paid_at date to donations 8 months ago
lib Add task for generating invitations 8 months ago
log Hello kosmos. 9 months ago
public Add cosmic background to header 6 months ago
spec Add missing hook to spec 6 months ago
tmp Hello kosmos. 9 months ago
vendor Hello kosmos. 9 months ago
.browserslistrc Hello kosmos. 9 months ago
.drone.yml Don't run caching steps on CI when not master or PR 8 months ago
.env.example Exchange XMPP contacts when invitee signs up 8 months ago
.env.production Add missing port number to ejabberd API base URL 8 months ago
.env.test Exchange XMPP contacts when invitee signs up 8 months ago
.gitignore Create LDAP users asynchronously 6 months ago
.rspec Hello kosmos. 9 months ago
.ruby-version Hello kosmos. 9 months ago
Gemfile Add Sidekiq, configure admin access to Web UI 6 months ago
Gemfile.lock Add Sidekiq, configure admin access to Web UI 6 months ago
LICENSE Add AGPL license 9 months ago
README.md Create LDAP users asynchronously 6 months ago
Rakefile Hello kosmos. 9 months ago
babel.config.js Hello kosmos. 9 months ago
config.ru Hello kosmos. 9 months ago
package.json Style forms, migrate more styles to Tailwind 6 months ago
postcss.config.js WIP Add Tailwind CSS 6 months ago
yarn.lock Style forms, migrate more styles to Tailwind 6 months ago

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