Main repo for Inboxen.org
  • Python 85.5%
  • HTML 9.7%
  • JavaScript 3.7%
  • SCSS 0.7%
  • Makefile 0.3%
Find a file
2026-02-22 00:28:17 +00:00
docs Remove concurrency from settings 2026-01-21 23:40:23 +00:00
extra Remove cantaloupe specific files 2025-12-07 22:08:01 +00:00
frontend Fix URLs 2025-05-25 21:02:45 +01:00
inboxen We need to keep a button there because of CSS issues 2026-02-21 23:48:37 +00:00
.codecov.yml Prevent codecov from blocking PRs 2017-08-15 18:57:04 +01:00
.coveragerc Upgrade to 3.12 2024-11-10 18:49:49 +00:00
.editorconfig Release script 2020-07-27 21:23:43 +01:00
.gitattributes Add versioneer to the project 2018-07-16 15:29:38 +01:00
.gitignore Upgrade to 3.12 2024-11-10 18:49:49 +00:00
.jshintignore Drop webassets 2019-07-08 12:53:05 +01:00
.readthedocs.yml Test webhook 2025-02-25 16:05:29 +00:00
.shutuprc Tell shutup script to ignore main branch 2021-04-06 11:48:24 +01:00
CHANGELOG.md Update changelog 2026-02-22 00:28:17 +00:00
Gruntfile.js Fix JS tests not starting Chromium properly 2024-08-05 20:31:29 +01:00
karma.conf.js Prefer chromium over chrome for tests 2021-11-17 20:25:52 +00:00
LICENSE Undo accidental overwriting of LICENSE 2015-08-31 20:36:44 +01:00
Makefile We need to keep a button there because of CSS issues 2026-02-21 23:48:37 +00:00
manage.py Turn manage.py into a proper command 2020-07-01 23:23:55 +01:00
MANIFEST.in Update MANIFEST file to include inboxen/static and exclude pyc files 2020-07-03 11:20:36 +01:00
package-lock.json Update dependencies 2026-01-22 02:04:00 +00:00
package.json A number of files should be added to the python package 2018-07-17 14:08:33 +01:00
README.md Remove cantaloupe specific files 2025-12-07 22:08:01 +00:00
requirements-dev.in Remove cantaloupe specific files 2025-12-07 22:08:01 +00:00
requirements-dev.txt Update dependencies 2026-01-22 02:04:00 +00:00
requirements.txt Update requirements 2025-09-30 00:37:48 +01:00
ruff.toml ruff 2025-09-17 17:09:37 +01:00
setup.cfg Give inboxen package a PEP440 compatible version string 2023-09-05 11:24:59 +01:00
setup.py Ruff fix for import order 2025-12-07 19:38:17 +00:00
tox.ini ruff 2025-09-17 17:09:37 +01:00
versioneer.py ruff 2025-09-17 17:09:37 +01:00

Inboxen

Documentation Status

This is the complete system with everything you need to set up Inboxen.

The current maintainer of this repo is Matt Molyneaux

GPG keys

GPG keys used by Inboxen developers to sign releases:

Matt Molyneaux <[email protected]>
    19F5 A8DC C917 FD00 E859   02F4 878B 5A2A 1D47 C084

Security

If you find a security issue with Inboxen, email [email protected]. If you wish to send an encrypted report, then please use key id 0x878B5A2A1D47C084

Once reported, all security vulnerabilities will be acted on immediately and a fix with full disclosure will go out to everyone at the same time.

Developing

You'll need the following tools:

  • Git
  • Python (we strongly recommend you use virtualenv too)
  • PostgreSQL
  • NodeJS
  • GNU Make
  • EditorConfig (optional)

This project comes with a .editorconfig file - we recommend installing it to avoid things like mixing tabs/spaces or accidentally saving files with DOS-style newlines.

Set yourself up with a virtual environment and run the following:

git clone https:///codeberg.org/Inboxen/Inboxen.git
cd Inboxen
make

When you've made your changes, remember to check your code style and run unit tests.

Python tests:

python manage.py test

JS tests:

npx grunt karma

To check code style on Python:

tox -e lint

And finally, check JS code style:

npx grunt jshint

Local HTTP server

You'll need a inboxen.config file, for example:

secret_key: some_random_string
debug: true
tasks:
  always_eager: true

If you want to start a local HTTP server to test out your changes, run the following:

python manage.py runserver

You can connect to it on http://localhost:8000/.

With debug=true, you'll have the Django Debug Toolbar enabled and you can find the Inboxen styleguide at http://localhost:8000/styleguide

Pinned Dependencies

Inboxen uses pip-tools to help manage its dependencies. The direct requirements of Inboxen are kept in requirements.in and then we use the following command to pin the entire dependency graph:

pip-compile --upgrade --output-file requirements.txt requirements.in

The resulting requirements.txt can be installed to a clean virtualenv with pip to get the exact package versions that Inboxen uses in production. You can also use the pip-sync (which comes with pip-tools) to update an existing virtualenv as well as remove packages that are no longer required.

The same principal applies to requirements-dev.txt/requirements-dev.txt and any files found in extras/requirements.

If for any reason you wish to bypass pinning dependencies, requirements.in and requirements-dev.in are in the format expected by pip.

Committing and Branching

Branching

All development happens in branches off of main. Each branch should have an associated issue - if there isn't one for what you're working on then create a new issue first!

Branch names should be of the format <issue>-<description> where:

  • <issue> is the issue you are working on
  • <description> is a brief description of what's happening on that branch

For example, 129-pin-inboxes was the branch used for implementing the pin inbox feature

Finished branches are then merged into main. If there is someone available to review your branch, your branch should be reviewed and merged by them. Remember to add a note to CHANGELOG.md when merging!

Hotfix branches

Hotfixes should be branched from the latest deploy tag, and then be tagged themselves as a normal deployment before being merged back into main.

Commit messages

You should follow the pattern of "summary, gap, details, gap, issue references"

For example:

Blah blah thing

Fixes this thing, changes how we should do something else

fix #345
touch #234

If you are committing on main, then make sure to end your commit message with "IN MAIN" so we know who to blame when stuff breaks.