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 up #77

Merged
merged 58 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
5e17560
Translations update: German and Dutch
pretalx-translations Feb 16, 2024
59fdb65
Add Dutch and Italian translations
rixx Feb 16, 2024
bee2859
Update translation percentages
rixx Feb 16, 2024
e33919c
Remove Python 3.7 compatibility
rixx Feb 16, 2024
3dedb24
Remove old TODO items
rixx Feb 16, 2024
aa3b6e4
Update redirecting/broken URLs
rixx Feb 16, 2024
6d3107a
Remove antiquated stackexchange link
rixx Feb 16, 2024
79f053c
Update release docs
rixx Feb 16, 2024
54510bf
Fix missing ellipsis in global search
rixx Feb 16, 2024
6dc9c1b
Release v2024.1.0
rixx Feb 16, 2024
2c363aa
Bump to development version
rixx Feb 16, 2024
04e3255
Update release docs
rixx Feb 18, 2024
f3b86cb
Be more resilient to malformed URLs
rixx Feb 18, 2024
668fed8
Add tooltips to proposal list buttons
rixx Feb 18, 2024
5ba0bfb
Remove double colon in translated string
rixx Feb 18, 2024
279a76f
Fix code style
rixx Feb 19, 2024
0bee957
Use pluralisation consistently
rixx Feb 19, 2024
799c380
Remove duplicate source strings
rixx Feb 19, 2024
5a3a91b
More pluralisation use
rixx Feb 19, 2024
14b059e
Use http404 correctly
rixx Feb 19, 2024
448ed08
Don't break on incorrect permission checks
rixx Feb 19, 2024
61e4da4
Add a missing 404
rixx Feb 19, 2024
ca2a3ae
Make sure schedule versions don't break
rixx Feb 20, 2024
35a2c8d
Make sure event copy wizard doesn't fail
rixx Feb 26, 2024
6b7354c
Add missing release tag in changelog
rixx Feb 26, 2024
0475a5f
Fix missing speakers in schedule.xml
rixx Feb 26, 2024
6991a15
Update schedule to v1.20.3, fix HTML export
rixx Feb 26, 2024
152c324
Translations update: Dutch and Czech
pretalx-translations Feb 26, 2024
9f72e55
Allow empty bulk reviews even with required fields
rixx Feb 27, 2024
840fbe2
Fix overflow in email placeholder column
rixx Feb 27, 2024
66a8f26
Rename Dutch locale for fullcalendar
rixx Feb 27, 2024
27e1b82
Improve translation docs
rixx Feb 29, 2024
513a347
Make docs easier to read: increase line height
rixx Feb 29, 2024
100e3f7
Update contribution docs
rixx Feb 29, 2024
3c22f3a
Make scrolling in docs not suck
rixx Feb 29, 2024
7e876b6
Add "home" link to docs
rixx Feb 29, 2024
3a78709
Update pretalx theme style / use pretalx fonts
rixx Feb 29, 2024
df8b3d8
Reduce doc CSS size
rixx Feb 29, 2024
d1e72f9
Final fixes to docs titlebar
rixx Feb 29, 2024
561f9d2
Filter proposal list by answer options
rixx Feb 29, 2024
727c1b6
Make table headers sticky
rixx Mar 1, 2024
3aab65e
Show questions ordered correctly
rixx Mar 5, 2024
e4436f2
Update python-dateutil
rixx Mar 5, 2024
a55d733
Update django-csp
rixx Mar 5, 2024
cdaa3d0
Drop legacy type annotations
rixx Mar 5, 2024
a9341a4
Fix list display in documentation
rixx Mar 5, 2024
2b6df4d
Rework install docs, recommend venvs
rixx Mar 5, 2024
8bc1193
Indicate overflow in doc sidebar
rixx Mar 5, 2024
bf66153
Make commands docs more readable
rixx Mar 5, 2024
6337e8b
Update configuration docs
rixx Mar 5, 2024
3a6eb66
It’s my project and my time to spend, don’t judge
rixx Mar 5, 2024
3445853
Use proper apostophes and quotation marks
rixx Mar 5, 2024
0b3f8b7
Fix breaking tests
rixx Mar 5, 2024
93fd9ce
Fix code style
rixx Mar 5, 2024
af64e73
Use category name as column/key in CSV/JSON export
rixx Mar 9, 2024
2d83b86
Make CSV/JSON export charsets explicit
rixx Mar 9, 2024
9f3ca97
Bump django-filter
rixx Mar 12, 2024
82a32ee
Merge remote-tracking branch 'pretalx/main' into sync-up
norbusan Mar 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ latex:

latexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
@echo "Running LaTeX files through pdflatex"
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."

latexpdfja:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through platex and dvipdfmx..."
@echo "Running LaTeX files through platex and dvipdfmx"
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."

Expand All @@ -141,7 +141,7 @@ texinfo:

info:
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
@echo "Running Texinfo files through makeinfo..."
@echo "Running Texinfo files through makeinfo"
make -C $(BUILDDIR)/texinfo info
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."

Expand Down
14 changes: 7 additions & 7 deletions doc/_templates/index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{% extends "layout.html" %}
{% set title = 'Overview' %}
{% set title = "Overview" %}
{% block body %}
<h1>Welcome to pretalx's documentation</h1>
<h1>Welcome to pretalxs documentation</h1>
<p>
<p>pretalx is an open source conference management tool.
It starts you off by creating a Calls for Participation that is
exactly right for you. You can then review incoming submissions with
your team and choose the best ones. Once you've made your choice,
your team and choose the best ones. Once youve made your choice,
create the best schedule for your conference with our schedule editor.
It even takes into account when your speakers are available!
And it can do even more – check the <a href="https://pretalx.com/p/features">
Expand All @@ -17,7 +17,7 @@ <h1>Welcome to pretalx's documentation</h1>
complete as possible. We want you to be able understand, use, run, and
improve pretalx. That said, documentation is never finished, and rarely
perfect. If there is anything unclear or missing in our documentation,
or if pretalx behaves in unexpected ways, we'd be happy if you'd <a
or if pretalx behaves in unexpected ways, wed be happy if youd <a
href="https://github.com/pretalx/pretalx/issues/new">let us know</a>.
</p>
</p>
Expand Down Expand Up @@ -61,7 +61,7 @@ <h2>Documentation structure</h2>
<div class="text">
<p>
You want to interact with pretalx using its RESTful API?
We've got you covered.
Weve got you covered.
</p>
</div>
</div>
Expand All @@ -75,7 +75,7 @@ <h2>Documentation structure</h2>
<div class="text">
<p>
You want to contribute to pretalx, either to fix bugs,
or to introduce that feature you're missing?
or to introduce that feature youre missing?
Setup instructions and helpful instructions are over here.
</p>
</div>
Expand All @@ -99,7 +99,7 @@ <h2>Project information</h2>
maintainer of this project is <a href="https://rixx.de">Tobias Kunze</a>
who also runs the pretalx hosting at <a href="https://pretalx.com">pretalx.com</a>.</p>

If you'd like to contribute to pretalx, you are most welcome! We have written
If youd 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>.
</p>
Expand Down
54 changes: 6 additions & 48 deletions doc/_themes/pretalx_theme/footer.html
Original file line number Diff line number Diff line change
@@ -1,51 +1,9 @@
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
{% if next %}
<a href="{{ next.link|e }}" class="float-right" title="{{ next.title|striptags|e }}" accesskey="n" rel="next">{{ _('Next') }} <span class="fa fa-arrow-circle-right"></span></a>
{% endif %}
{% if prev %}
<a href="{{ prev.link|e }}" class="" title="{{ prev.title|striptags|e }}" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> {{ _('Previous') }}</a>
{% endif %}
</div>

<div id="sep" role="contentinfo">

{%- if build_id and build_url %}
{% trans build_url=build_url, build_id=build_id %}
<span class="build">
Build
<a href="{{ build_url }}">{{ build_id }}</a>.
</span>
{% endtrans %}
{%- elif commit %}
{% trans commit=commit %}
<span class="commit">
Revision <code>{{ commit }}</code>.
</span>
{% endtrans %}
{%- elif last_updated %}
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
{%- endif %}
</p>
</div>
<div id="source-link">
{% if meta is defined and meta is not none %}{% set check_meta = True %}{% else %}{% set check_meta = False %}{% endif %}
{% if pagename != "search" %}
Caught a mistake or want to contribute to the documentation?
{% if check_meta and 'github_url' in meta %}
<!-- User defined GitHub URL -->
<a href="{{ meta['github_url'] }}" class="fa fa-github">Edit this page!</a>
{% else %}
<a href="https://{{ github_host|default("github.com") }}/{{ github_user }}/{{ github_repo }}/blob/{{ github_version }}{{ conf_py_path }}{{ pagename }}{{ page_source_suffix }}" class="fa fa-github">Edit this page!</a>
{% endif %}
{% endif %}
</div>
{% if pagename != "search" %}
<a href="https://{{ github_host|default("github.com") }}/{{ github_user }}/{{ github_repo }}/blob/{{ github_version }}{{ conf_py_path }}{{ pagename }}{{ page_source_suffix }}" class="fa fa-github"> Edit this page</a> &middot;
{% endif %}
{% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
<div>
{%- block extrafooter %} {% endblock %}
<p>
{%- if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
{%- else %}
{% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
{%- endif %}
{% trans %}Built with <a href="http://sphinx-doc.org/">Sphinx</a>{% endtrans %}.
</div>
</footer>
30 changes: 16 additions & 14 deletions doc/_themes/pretalx_theme/header.html
Original file line number Diff line number Diff line change
@@ -1,34 +1,36 @@
<header>
{% if logo and theme_logo_only %}
<a id="logourl" href="/" class="mobile-hide">
{% else %}
<a id="logourl" href="/" class="icon icon-home mobile-hide"> {{ project }}
{% endif %}

{% if logo %}
{# Not strictly valid HTML, but it's the only way to display/scale it properly, without weird scripting or heaps of work #}
<img src="{{ pathto('_static/' + logo, 1) }}" class="logo mobile-hide" />
{% endif %}
<a id="logourl" href="/" class="mobile-hide">
<img src="/_static/images/logo.svg" />
</a>

{% include "searchbox.html" %}
<div id="spacer"></div>

{%- if builder != 'singlehtml' %}
<div role="search" id="header-search">
<form id="rtd-search-form" action="{{ pathto('search') }}" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
{%- endif %}

<div id="related" class="mobile-hide">
<div class="dropdown">
<div class="dropdown-title">Support us</div>
<div class="dropdown-body">
<div class="dropdown-item"><a href="https://pretalx.com/p/pricing">Hosted pretalx</a></div>
<div class="dropdown-item"><a href="https://pretalx.com/p/pricing">pretalx support</a></div>
<div class="dropdown-item"><a href="https://patreon.com/rixx">Developer patreon</a></div>
<div class="dropdown-item"><a href="https://liberapay.com/rixx">Developer liberapay</a></div>
<div class="dropdown-item"><a href="https://rixx.de/funding">Developer support</a></div>
</div>
</div>
<div class="dropdown">
<div class="dropdown-title">Resources</div>
<div class="dropdown-body">
<div class="dropdown-item"><a href="https://pretalx.com/p/about/">Website</a></div>
<div class="dropdown-item"><a href="https://pretalx.com/p/news/">Blog</a></div>
<div class="dropdown-item"><a href="https://pretalx.com/p/try/">Try pretalx</a></div>
<div class="dropdown-item"><a href="https://github.com/pretalx/pretalx/">Source code</a></div>
<div class="dropdown-item"><a href="https://twitter.com/pretalx">Twitter</a></div>
</div>
</div>
</div>
Expand Down
85 changes: 19 additions & 66 deletions doc/_themes/pretalx_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,68 +10,37 @@
<!DOCTYPE html>
<head>
<meta charset="utf-8">
{{ metatags }}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% block htmltitle %}
<title>{{ title|striptags|e }}{{ titlesuffix }}</title>
{% endblock %}
<link rel="shortcut icon" href="{{ pathto('_static/images/favicon.png', 1) }}"/>
{# CANONICAL URL #}
{% if theme_canonical_url %}
<link rel="canonical" href="{{ theme_canonical_url }}{{ pagename }}.html"/>
{% endif %}

{# OPENSEARCH #}
{% if not embedded %}
{% if use_opensearch %}
<link rel="search" type="application/opensearchdescription+xml" title="{% trans docstitle=docstitle|e %}Search within {{ docstitle }}{% endtrans %}" href="{{ pathto('_static/opensearch.xml', 1) }}"/>
{% endif %}
{% endif %}
<link rel="stylesheet" href="{{ pathto('_static/pretalx.css', 1) }}" type="text/css" />

<link rel="stylesheet" href="{{ pathto('_static/pretalx.css', 1) }}" type="text/css" />
{% for cssfile in css_files %}
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
{% endfor %}

{% for cssfile in extra_css_files %}
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
{% endfor %}

{%- block linktags %}
{%- if hasdoc('about') %}
<link rel="author" title="{{ _('About these documents') }}"
href="{{ pathto('about') }}"/>
{%- endif %}
{%- if hasdoc('genindex') %}
<link rel="index" title="{{ _('Index') }}"
href="{{ pathto('genindex') }}"/>
{%- endif %}
{%- if hasdoc('search') %}
<link rel="search" title="{{ _('Search') }}" href="{{ pathto('search') }}"/>
{%- endif %}
{%- if hasdoc('copyright') %}
<link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}"/>
{%- endif %}
<link rel="top" title="{{ docstitle|e }}" href="{{ pathto('index') }}"/>
{%- if parents %}
<link rel="up" title="{{ parents[-1].title|striptags|e }}" href="{{ parents[-1].link|e }}"/>
{%- endif %}
{%- if next %}
<link rel="next" title="{{ next.title|striptags|e }}" href="{{ next.link|e }}"/>
{%- endif %}
{%- if prev %}
<link rel="prev" title="{{ prev.title|striptags|e }}" href="{{ prev.link|e }}"/>
{%- endif %}
<link rel="index" title="Index" href="{{ pathto('genindex') }}"/>
<link rel="search" title="Search" href="{{ pathto('search') }}"/>
{%- endblock %}

{{ metatags }}

{%- block extrahead %} {% endblock %}

{# Keep modernizr in head - http://modernizr.com/docs/#installing #}
<script src="{{ pathto('_static/js/modernizr.min.js', 1) }}"></script>

</head>

<body role="document">

{% block extrabody %} {% endblock %}

{% include "header.html" %}
{# SIDE NAV, TOGGLES ON MOBILE #}
<nav data-toggle="nav-shift" class="nav-side">
Expand Down Expand Up @@ -109,48 +78,32 @@
{% endblock %}
</nav>


{# PAGE CONTENT #}
<div class="nav-content">
<div class="rst-content">
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
{% block body %}{% endblock %}
</div>
<div class="articleComments">
{% block comments %}{% endblock %}
</div>
</div>
{% include "footer.html" %}
</div>
</div>
</main>

{% if not embedded %}
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'{{ url_root }}',
VERSION:'{{ release|e }}',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'{{ '' if no_search_suffix else file_suffix }}',
HAS_SOURCE: {{ has_source|lower }},
SOURCELINK_SUFFIX: '{{ sourcelink_suffix }}'
};
</script>
{%- for scriptfile in script_files %}
<script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
{%- endfor %}

{% endif %}

{# STICKY NAVIGATION #}
{% if theme_sticky_navigation %}
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.StickyNav.enable();
});
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'{{ url_root }}',
VERSION:'{{ release|e }}',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'{{ '' if no_search_suffix else file_suffix }}',
HAS_SOURCE: {{ has_source|lower }},
SOURCELINK_SUFFIX: '{{ sourcelink_suffix }}'
};
</script>
{% endif %}
{%- for scriptfile in script_files %}
<script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
{%- endfor %}

{%- block footer %} {% endblock %}

Expand Down
9 changes: 0 additions & 9 deletions doc/_themes/pretalx_theme/searchbox.html

This file was deleted.

Loading
Loading