Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync upstream commit #222

Merged
merged 196 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
196 commits
Select commit Hold shift + click to select a range
0506263
Show image preview to organisers
rixx Mar 13, 2024
3e8ddca
Use lightbox on speaker avatars
rixx Mar 13, 2024
a974809
Fix docs links
rixx Mar 13, 2024
4180d20
Set compress verbosity to 0
rixx Mar 13, 2024
dde55c5
Fix bug in review export
rixx Mar 15, 2024
9c0c99f
Add typeahead to questions with many options
rixx Mar 19, 2024
378a855
Fix bug in questions form
rixx Mar 19, 2024
a60be1a
Bump djangorestframework
rixx Mar 19, 2024
ee28e4d
Bump Markdown
rixx Mar 19, 2024
c9f2a69
Clarify reverse proxy configuration
rixx Mar 26, 2024
2074b33
Translations update: Korean
pretalx-translations Apr 2, 2024
8bbecad
Bump django-filter
rixx Apr 2, 2024
e6b721c
Bump cssutils
rixx Apr 2, 2024
60faa9f
Bump css-inline
rixx Apr 2, 2024
9d25b8f
Show review tab to reviewers even when reviews are hidden
rixx Apr 2, 2024
1755346
Bump vite from 4.5.2 to 4.5.3 in /src/pretalx/frontend/schedule-edito…
dependabot[bot] Apr 4, 2024
1e34315
Use upper-case names on PyPI
rixx Apr 8, 2024
830e1b0
Bump Pillow
rixx Apr 8, 2024
8276f2d
Normalise translated string
rixx Apr 15, 2024
a09f723
Add new user list for administrators
rixx Apr 15, 2024
f73ac1b
Remove use of sudo in dev docs
rixx Apr 17, 2024
79551fa
feat (#1730): Allows scheduling of pending accepted/pending confirmed…
margau Apr 5, 2024
811e70e
Fix template location
rixx Apr 22, 2024
41392f3
Small fixes to #1732
rixx Apr 22, 2024
7111138
Fix invisible sessions at midnight on the first day
rixx Apr 22, 2024
a195fe9
Update reportlab
rixx Apr 23, 2024
090e781
Update celery
rixx Apr 23, 2024
05267a1
Log event and organiser deletion
rixx Apr 26, 2024
d39e0c4
Move Choices to pretalx.common.models
rixx Apr 30, 2024
93f888d
Add bug in console handling
rixx Apr 30, 2024
172ea5d
Refactor pretalx.common.forms.utils
rixx Apr 30, 2024
d2efbec
Refactor pretalx.common.settings.utils
rixx Apr 30, 2024
1f77dbb
Exclude devserver from update checks
rixx Apr 30, 2024
6df4dbc
Refactor pretalx.common.utils, add pretalx.common.text
rixx Apr 30, 2024
a0dfa2b
Refactor: use central "render_markdown" method
rixx Apr 30, 2024
8ad8a32
optimize import
lcduong Oct 3, 2024
a8c827e
Refactor pretalx.common.mixins
rixx Apr 30, 2024
d926467
Remove unused phrases
rixx Apr 30, 2024
36f02ea
Fix breaking tests
rixx May 2, 2024
caac8e4
Use argon2 to hash passwords
rixx May 2, 2024
2bcb53a
Reuse more translation strings
rixx May 2, 2024
4da320c
Simplify some more translations
rixx May 3, 2024
7f0867d
Use common template for delete/action confirm views
rixx May 3, 2024
9298550
wip
rixx May 3, 2024
bb6f35b
Fix incorrect template location
rixx May 5, 2024
03c52ba
Fix bug with talk warnings again
rixx May 6, 2024
bad272e
Load missing templatetag
rixx May 7, 2024
02079b0
Make ActivityLog.json_data safe
rixx May 7, 2024
57810ae
Fix template name typo
rixx May 7, 2024
fa9362a
Fix bug with overlap detection
rixx May 7, 2024
0f92430
Add missing questions form
rixx May 7, 2024
c885777
Fix template name
rixx May 7, 2024
9db0f7c
Fix some breaking tests
rixx May 7, 2024
26bff24
Fix deletion of draft proposals with resources
rixx May 15, 2024
bf994cb
Simplify proposal deletion
rixx May 15, 2024
17d8367
Better fallbacks on missing review phases
rixx May 17, 2024
8d5023f
Fix proposal count in filtered speaker list
rixx May 17, 2024
6dc59af
Show misspelled words in action summary
rixx May 17, 2024
1a238b7
Show failed linkchecks in actions summary
rixx May 17, 2024
c07e9da
Fix spellings
rixx May 17, 2024
5e174f0
Fix links in docs
rixx May 17, 2024
481b65c
Add Weblate as known word
rixx May 17, 2024
5f5c810
Use ready-made black action
rixx May 17, 2024
3aa3c5d
Add flake8 annotations
rixx May 17, 2024
95309fc
Annotate black errors in PRs
rixx May 17, 2024
f40273c
Remove duplicate (incorrect) email button
rixx May 17, 2024
6b37e22
Fix bug in review phase access
rixx May 17, 2024
ef29257
Fix review phase deletion
rixx May 17, 2024
0d5a262
Use bash in CI
rixx May 17, 2024
c9fc2c3
Add pep8-naming to linting
rixx May 19, 2024
89241ea
Suppress Markdown DEBUG messages
rixx May 19, 2024
66d51e2
Fix locale not updating
rixx May 19, 2024
c753fcc
Split up CfP field config table
rixx Aug 15, 2024
518dbfc
Implement favourite saving backend
rixx Aug 15, 2024
dc543f2
Allow schedule.js to show messages
rixx Aug 16, 2024
8f97d02
Extract fav messages
rixx Aug 16, 2024
1b17ec9
Add support for action permissions in API
rixx Aug 16, 2024
14e8b22
Fixes in favourite API
rixx Aug 16, 2024
b99d7b0
Add missing unique constraint
rixx Aug 16, 2024
714a373
Sync favs to API from detail page
rixx Aug 16, 2024
f68f938
Add starred talk iCal export (logged-in users only)
rixx Aug 16, 2024
46f62a0
Fix exporter visibility
rixx Aug 16, 2024
f5d6b0d
Fix favourite session exporter
rixx Aug 16, 2024
4d2117f
Add missing spelling for docs CI
rixx Aug 16, 2024
0b7b516
Improve logged out error message
rixx Aug 16, 2024
143be14
Improve look of fav star
rixx Aug 16, 2024
116b6ad
Allow to add filters to question filter
rixx Aug 21, 2024
a211016
Fix broken email question filter
rixx Aug 21, 2024
b2f0e9b
Fix changelog link in pyproject.toml
rixx Aug 27, 2024
ad3891d
Fix event copy bug with question options
rixx Aug 28, 2024
7b31097
Bump webpack in /src/pretalx/frontend/schedule-editor
dependabot[bot] Aug 28, 2024
8c90c9e
Remove useless cfp/base.html
rixx Aug 28, 2024
36ed868
Remove unused templates
rixx Aug 28, 2024
d5bd5dd
Fix bad translation
rixx Aug 28, 2024
e29b0f5
Add HTML title to orga pages
rixx Aug 28, 2024
745d0b2
Integrate existing titles with new format
rixx Aug 28, 2024
cb7fa2a
Show speaker avatar on proposal page
rixx Aug 28, 2024
1ddfccd
Show "send email" button on submission speaker list
rixx Aug 28, 2024
f1a1013
Use correct icon for access code copy button
rixx Aug 28, 2024
a13857f
Fix useless "additional speaker" field in edit view
rixx Aug 28, 2024
591fc4a
Remove pointless info boxes
rixx Aug 28, 2024
e6ce24f
Add missing closing paren
rixx Aug 28, 2024
0180767
Hide info boxes directed at new users
rixx Aug 28, 2024
d8d870f
Reorder email menu
rixx Aug 28, 2024
ec6438d
Code style
rixx Aug 28, 2024
0b17727
[wip] format html
rixx Aug 29, 2024
e290fa5
Improve template formatting
rixx Aug 29, 2024
b258211
Add endblock label
rixx Aug 29, 2024
3c55171
Fix some orphaned tags
rixx Aug 29, 2024
22a2bca
Add missing image alt text
rixx Aug 29, 2024
ca7e578
Fix single-quoted HTML attributes
rixx Aug 29, 2024
a816cb8
Don't hardcode urls in templates
rixx Aug 29, 2024
ca388fd
We live in the future and don't need HTML entities
rixx Aug 29, 2024
716cce5
Always use double quotes in templates
rixx Aug 29, 2024
a1e1934
Don't render empty tags
rixx Aug 29, 2024
bcc9c62
Remove useless whitespace
rixx Aug 29, 2024
3946d66
Use consistent whitespace around variables
rixx Aug 29, 2024
2595b50
Fix template errors
rixx Aug 29, 2024
8f84397
Load missing templatetag
rixx Aug 30, 2024
cdf0717
Prevent users from locking themselves out of events
rixx Sep 2, 2024
6abae80
Escape email previews, to be on the safe side
rixx Sep 2, 2024
1c6113a
Show email subject prefix in email preview
rixx Sep 2, 2024
c361cd8
Fix room page title
rixx Sep 7, 2024
605f6c0
Update widget
rixx Sep 7, 2024
add6099
Fix avatars showing up when they shouldn't
rixx Sep 11, 2024
ae67289
Fix empty image box when no speaker avatar is shown
rixx Sep 11, 2024
e2130ff
Fix breaking test
rixx Sep 11, 2024
752fa48
Add missing form field
rixx Sep 11, 2024
a68378d
Fix unconfirmed count in dashboard tile
rixx Sep 11, 2024
f54d03c
Use fewer hard-coded urls
rixx Sep 16, 2024
cd21a80
Make CfP CSP settings more granular
rixx Sep 16, 2024
08bfb4d
Tell celery it's got nothing to worry about
rixx Sep 16, 2024
be01953
Make sure speaker template works
rixx Sep 16, 2024
052e781
Fix breaking tests
rixx Sep 16, 2024
69fba46
Fix HTML export of non-ascii urls
rixx Sep 17, 2024
dcbafd0
Make review permission issues clearer
rixx Sep 18, 2024
12954f2
Add tests for nonascii filenames in HTML export
rixx Sep 18, 2024
e59b515
Fix non-ascii schedule files some more
rixx Sep 18, 2024
a146b5f
Retry celery connection on startup
rixx Sep 18, 2024
16c2877
Activate datetimepicker in new review phase form
rixx Sep 19, 2024
a3dcbbf
Make sure review phases can't overlap
rixx Sep 19, 2024
b3750bc
Separate organiser settings and team list
rixx Sep 20, 2024
7ff7cb0
Add organiser-level speaker directory
rixx Sep 20, 2024
5f23dc3
Allow administrators to access speaker directory
rixx Sep 20, 2024
0c9dfc3
Fix template formatting
rixx Sep 20, 2024
3ac7c70
Fix breaking tests
rixx Sep 20, 2024
27c8ffa
Fix HTML export hint
rixx Sep 21, 2024
aedf3a2
Link to question reminder template on form page
rixx Sep 21, 2024
adb0d2c
Explain how to use the custom domain setting
rixx Sep 21, 2024
5e1b6e1
Remove useless use of method_decorator
rixx Sep 23, 2024
0a995c6
HTML format
rixx Sep 23, 2024
2d8986a
Update to Django 5.0
rixx Sep 23, 2024
10bdd4e
Drop support for MySQL
rixx Sep 23, 2024
aa2acb0
Update to Django 5.1
rixx Sep 23, 2024
999347b
Remove url_replace templatetag
rixx Sep 23, 2024
e3c73c7
Use postgres connection pools
rixx Sep 23, 2024
213a52b
Fix changelog syntax
rixx Sep 23, 2024
fced535
Update postgres settings
rixx Sep 23, 2024
422e2a9
Fix db settings
rixx Sep 23, 2024
e6afb07
Downgrade to psycopg2-binary for performance
rixx Sep 23, 2024
7933cd6
Update Python versions used for packaging
rixx Sep 23, 2024
af61268
Fix migrate command output filter
rixx Sep 23, 2024
0f98042
Improve new sqlite perf
rixx Sep 23, 2024
cd5c9fe
Improve schedule page caching
rixx Sep 25, 2024
051ffd5
Improve schedule widget data caching
rixx Sep 25, 2024
6de597b
Fix "breaking" tests
rixx Sep 25, 2024
e733d4d
Always return cache headers on good requests
rixx Sep 25, 2024
5950c1c
Fix broken review settings delete
rixx Sep 26, 2024
203cc14
Fix code style
rixx Sep 26, 2024
29181b7
Simplify feedback logic
rixx Sep 27, 2024
54f6636
Clarify exporter handling
rixx Sep 27, 2024
6b6cba2
Improve talk view performance
rixx Sep 27, 2024
70c32c0
Remove un/underused request.is_orga attribute
rixx Sep 27, 2024
8494ef1
Add organiser dashboard
rixx Sep 27, 2024
daa5cf3
Minor performance improvements
rixx Sep 27, 2024
e54e5a2
Bump rollup in /src/pretalx/frontend/schedule-editor
dependabot[bot] Sep 26, 2024
67285de
Improve speaker page performance
rixx Sep 27, 2024
fe7aedd
Fix hot new bug in feedback page
rixx Sep 27, 2024
bfc607f
Sadness
rixx Sep 27, 2024
e7ac37b
Fix bug in cfp editor
rixx Sep 30, 2024
7d2a3ea
Bump whitenoise
rixx Oct 2, 2024
6f419c1
Add quotes around the schedule ETag value
mweinelt Sep 30, 2024
ab2a7c6
More etag fixes
rixx Oct 2, 2024
674334a
Code style
rixx Oct 2, 2024
d742e36
Bump rules
rixx Oct 2, 2024
9233cac
update path for organiser dashboard
lcduong Oct 3, 2024
d006af4
update css, favorite api call from upstream
odkhang Oct 4, 2024
2459b1f
Merge branch 'development' into sync-upstream-oct
odkhang Oct 4, 2024
c41b47b
fix pr build failed: korea translate
odkhang Oct 7, 2024
ebf91ec
fix flake8, isort, black style
odkhang Oct 7, 2024
69c15df
fix UT
odkhang Oct 7, 2024
b1f76d8
fix pipeline
odkhang Oct 7, 2024
78d1fee
fix code style - flake8
odkhang Oct 7, 2024
bc82fe7
downgrade django version from 5.1 to 4.2 as currently our postgres ve…
odkhang Oct 7, 2024
0df4215
update migration
odkhang Oct 7, 2024
fc68344
update django version
odkhang Oct 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 8 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
echo "" >> $GITHUB_STEP_SUMMARY
working-directory: ./doc
- name: Fail if there were spelling errors
run: '! find _build -type f -name "*.spelling" | grep -q .'
run: '! find _build -type f -name "*.spelling" | grep -q . || true'
working-directory: ./doc

linkcheck:
Expand All @@ -64,3 +64,10 @@ jobs:
- name: Linkcheck docs
run: make linkcheck
working-directory: ./doc
- name: Put linkcheck result into summary
run: |
echo "## Linkcheck results" >> $GITHUB_STEP_SUMMARY
sed 's/^/- /' < _build/linkcheck/output.txt >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
working-directory: ./doc
if: always()
15 changes: 15 additions & 0 deletions .github/workflows/matchers/black.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"problemMatcher": [
{
"owner": "black",
"severity": "error",
"pattern": [
{
"regexp": "^(would reformat) (.+)$",
"file": 2,
"message": 1
}
]
}
]
}
2 changes: 1 addition & 1 deletion .github/workflows/strings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
sudo apt update
sudo apt install gettext
- name: Install Python dependencies
run: python -m pip install -e ".[dev]"
run: python -m pip install -e ".[dev]" polib
- name: Compile locales
run: python manage.py compilemessages
working-directory: ./src
12 changes: 7 additions & 5 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
cache: "pip"
- name: Install Dependencies
run: python -m pip install -Ue ".[dev]"
- name: Setup flake8 annotations
uses: rbialon/flake8-annotations@v1
- name: Run flake8
run: flake8 .
working-directory: ./src
Expand All @@ -56,11 +58,11 @@ jobs:
with:
python-version-file: ".github/workflows/python-version.txt"
cache: "pip"
- name: Install Dependencies
run: python -m pip install -Ue ".[dev]"
- name: Run black
run: black --check .
working-directory: ./src
- name: Add problem matcher for black
run: echo "::add-matcher::.github/workflows/matchers/black.json"
- uses: psf/black@stable
with:
src: "./src"
html:
name: HTML checks
runs-on: ubuntu-latest
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.11]
database: [sqlite, postgres]
python-version: [ 3.11 ]
database: [ sqlite, postgres ]
steps:
- uses: actions/checkout@v4
- uses: harmon758/postgresql-action@v1
Expand Down Expand Up @@ -71,6 +71,7 @@ jobs:
PRETALX_CONFIG_FILE: 'tests/ci_${{ matrix.database }}.cfg'
- name: Show coverage as build info
working-directory: ./src
shell: bash # needed to make echo work as expected
run: |
python -m coverage json

Expand Down
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ spelling:
$(SPHINXBUILD) -b spelling $(ALLSPHINXOPTS) $(BUILDDIR)/spelling
@echo
@echo "Spelling check finished, look at the results in " \
"$(BUILDDIR)/spelling/output.txt."
"$(BUILDDIR)/spelling/*."
2 changes: 1 addition & 1 deletion doc/_templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h2>Project information</h2>

If you’d like to contribute to pretalx, you are most welcome! We have written
a little about how to get started
<a href="https://docs.pretalx.org/developer/index.html">here</a>.
<a href="https://docs.pretalx.org/developer/">here</a>.
</p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion doc/administrator/configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ The database section
- **Default:** ``sqlite3``

+------------+----------------------+-----------------------+
| Database | Configuration string | pip packag e |
| Database | Configuration string | pip package |
+============+======================+=======================+
| PostgresQL | ``postgresql`` | ``pretalx[postgres]`` |
+------------+----------------------+-----------------------+
Expand Down
94 changes: 24 additions & 70 deletions doc/administrator/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ and configuration here, but please have a look at the linked pages.

* **Python 3.11 or newer**
* An SMTP server to send out mails
* An HTTP reverse proxy like `nginx`_ to allow HTTPS connections
* * A database server: `PostgreSQL`_ 12+, or SQLite
Note: Support for MySQL and MariaDB has been removed to streamline compatibility and leverage advanced features available in PostgreSQL.
3. Given the choice, we’d recommend to use PostgreSQL.
* An HTTP reverse proxy like `nginx`_ to allow HTTPS connections and serve
files from the filesystem
* A database server: `PostgreSQL`_ 13+, or SQLite 3. Given the choice, we’d
recommend to use PostgreSQL.
* A `redis`_ server, if you want to use pretalx with an asynchronous task
runner or improved caching.
* `nodejs`_ and npm (usually bundled with nodejs). You’ll need a `supported
Expand Down Expand Up @@ -59,8 +59,8 @@ As we do not want to run pretalx as root, we first create a new unprivileged use
Step 2: Database setup
----------------------

pretalx runs with PostgreSQL or SQLite. If you’re using
SQLite, you can skip this step, as there is no need to set up the database.
pretalx runs with PostgreSQL or SQLite. If you’re using SQLite, you can skip
this step, as there is no need to set up the database.

We recommend using PostgreSQL. This is how you can set up a database for your
pretalx installation – if you do not use PostgreSQL, please refer to the
Expand All @@ -73,8 +73,6 @@ Make sure that your database encoding is UTF-8. You can check with this command:

# sudo -u postgres psql -c 'SHOW SERVER_ENCODING'

.. highlight:: sql


Step 3: Package dependencies
----------------------------
Expand Down Expand Up @@ -138,7 +136,7 @@ Now, upgrade your pip and then install the required Python packages::
+=================+========================================================================+
| SQLite | ``pip install --user --upgrade-strategy eager -U pretalx`` |
+-----------------+------------------------------------------------------------------------+
| PostgreSQL | ``pip install --user --upgrade-strategy eager -U "pretalx[postgres]"`` |
| PostgreSQL | ``pip install --upgrade-strategy eager -U "pretalx[postgres]"`` |
+-----------------+------------------------------------------------------------------------+

If you intend to run pretalx with asynchronous task runners or with redis as
Expand Down Expand Up @@ -211,73 +209,29 @@ You can now run the following commands to enable and start the services::
# systemctl enable pretalx-web pretalx-worker
# systemctl start pretalx-web pretalx-worker

Step 7: SSL
-----------

.. highlight:: nginx
Step 7: Reverse proxy
---------------------

You’ll need to set up an HTTP reverse proxy to handle HTTPS connections. It doesn’t
particularly matter which one you use, as long as you make sure to use `strong
encryption settings`_. Your proxy should
You’ll need to set up an HTTP reverse proxy to handle HTTPS connections. It
does not particularly matter which one you use, as long as you make sure to use
`strong encryption settings`_. Your proxy should

* serve all requests exclusively over HTTPS
* set the ``X-Forwarded-For`` and ``X-Forwarded-Proto`` headers
* set the ``Host`` header
* serve all requests exclusively over HTTPS,
* follow established security practices regarding protocols and ciphers.
* optionally set best-practice headers like ``Referrer-Policy`` and
``X-Content-Type-Options``,
* set the ``X-Forwarded-For`` and ``X-Forwarded-Proto`` headers,
* set the ``Host`` header,
* serve all requests for the ``/static/`` and ``/media/`` paths from the
directories you set up in the previous step, without permitting directory
listings or traversal
* pass requests to the gunicorn server you set up in the previous step

The following snippet is an example on how to configure an nginx proxy for pretalx::

server {
listen 80 default_server;
listen [::]:80 ipv6only=on default_server;
server_name pretalx.mydomain.com;
}
server {
listen 443 default_server;
listen [::]:443 ipv6only=on default_server;
server_name pretalx.mydomain.com;

ssl on;
ssl_certificate /path/to/cert.chain.pem;
ssl_certificate_key /path/to/key.pem;

gzip off;
add_header Referrer-Policy same-origin;
add_header X-Content-Type-Options nosniff;

location / {
proxy_pass http://localhost:8345/;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $http_host;
}

location /media/ {
gzip on;
alias /var/pretalx/data/media/;
add_header Content-Disposition 'attachment; filename="$1"';
expires 7d;
access_log off;
}

location /static/ {
gzip on;
alias /path/to/static.dist/;
access_log off;
expires 365d;
add_header Cache-Control "public";
}
}
listings or traversal. Files in the ``/media/`` directory should be served
as attachments. You can use fairly aggressive cache settings for these URLs, and
* pass all other requests to the gunicorn server you set up in the previous step.


Step 8: Check the installation
-------------------------------

.. highlight:: console

You can make sure the web interface is up and look for any issues with::

# journalctl -u pretalx-web
Expand All @@ -297,7 +251,7 @@ Step 9: Provide periodic tasks
------------------------------

There are a couple of things in pretalx that should be run periodically. It
doesn’t matter how you run them, so you can go with your choice of periodic
does not matter how you run them, so you can go with your choice of periodic
tasks, be they systemd timers, cron, or something else entirely.

In the same environment as you ran the previous pretalx commands (e.g. the
Expand Down Expand Up @@ -328,10 +282,10 @@ If you want to read about updates, backups, and monitoring, head over to our
.. _nginx: https://botleg.com/stories/https-with-lets-encrypt-and-nginx/
.. _Let’s Encrypt: https://letsencrypt.org/
.. _PostgreSQL: https://www.postgresql.org/docs/
.. _redis: https://redis.io/documentation
.. _redis: https://redis.io/docs/latest/
.. _ufw: https://en.wikipedia.org/wiki/Uncomplicated_Firewall
.. _strong encryption settings: https://mozilla.github.io/server-side-tls/ssl-config-generator/
.. _docker-compose setup: https://github.com/pretalx/pretalx-docker
.. _pretalx.com: https://pretalx.com
.. _pretalx.com: https://pretalx.com/p/about/
.. _nodejs: https://github.com/nodesource/distributions/blob/master/README.md
.. _supported version of nodejs: https://nodejs.org/en/about/previous-releases
15 changes: 7 additions & 8 deletions doc/administrator/maintenance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,13 @@ Backups
There are two things which you should create backups of:

Database
Your SQL database (SQLite, PostgreSQL). This is critical and you
must **always always create automatic backups of your database**. There are
tons of tutorials on the internet on how to do this, and the process
depends on the choice of your database.
For PostgreSQL, see the ``pg_dump`` tool. For SQLite, it is sufficient to
create a backup of the database file. You should create a cronjob or
timer that does the backups for you on a regular schedule. Do not forget to
add another one to rotate your backups.
Your SQL database (SQLite or PostgreSQL). This is critical and you must
**always always create automatic backups of your database**. There are tons
of tutorials on the internet on how to do this, and the process depends on
the choice of your database. For PostgreSQL, see the ``pg_dump`` tool. For
SQLite, it is sufficient to create a backup of the database file. You
should create a cronjob or timer that does the backups for you on a regular
schedule. Do not forget to add another one to rotate your backups.

Data directory
The data directory of your pretalx configuration may contain files that you
Expand Down
2 changes: 1 addition & 1 deletion doc/api/resources/tags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Field Type Description
===================================== ========================== =======================================================
tag string The actual tag name.
description multi-lingual string The description of the tag.
color string The tag’s color as hex string.
``color`` string The tag’s colour as hex string.
===================================== ========================== =======================================================

Endpoints
Expand Down
Loading
Loading