talklittle
e95d114795
Merge branch 'swagger-ui-npm-package' into 'develop-1.101'
Serve swagger-ui assets from npm package
See merge request tildes/tildes!169
2 months ago
Andrew Shu
d697a99bac
Move Swagger UI inline script to index.js
Remove unsafe-inline CSP from previous commit
2 months ago
Andrew Shu
f2b0b4f298
Specify unsafe-inline CSP for Swagger UI
Instead of injecting CSP nonce, which does not work
because nginx configuration is overwriting the header
2 months ago
Andrew Shu
f0f790b9f5
Revert "Move Swagger UI JS to separate file"
This reverts commit 049c3d0649
.
2 months ago
Andrew Shu
b6b524058c
Revert "Fix JS"
This reverts commit 6c66375afb
.
2 months ago
Andrew Shu
229625f1b0
Fix JS
2 months ago
Andrew Shu
210cd898e3
Move Swagger UI JS to separate file
Instead of injecting CSP nonce, which does not work
because nginx configuration is overwriting the header
2 months ago
Andrew Shu
aa38c09d59
Fix path
2 months ago
Andrew Shu
2718966b2e
Fix CSP errors on inline elements in Swagger UI
* Move inline CSS to a separate file
* Inject a CSP nonce using Pyramid tween
2 months ago
Andrew Shu
9c4eaa9c55
Fix copying swagger-ui assets
* remote_src to handle when Ansible controller node differs from managed node
* Fix chmod setting for directory
2 months ago
Andrew Shu
e17a3953be
Use custom swagger-ui HTML template, copy assets from npm module
2 months ago
Andrew Shu
8342d1305c
Add swagger-ui 5.27.1 node dependency
2 months ago
Bauke
cf5b9939f3
Fix Boussole initial compile and watcher issues
See merge request tildes/tildes!163
2 months ago
talklittle
230f096c3d
Fix redis consumers crashing due to relative path error
See merge request tildes/tildes!168
2 months ago
talklittle
b6441b555f
Remove is_ prefix from API schema property names
See merge request tildes/tildes!166
2 months ago
Polle
7d285e94e8
Tildes API | Read-Only Endpoints
See merge request tildes/tildes!160
2 months ago
Bauke
7526911212
Update dependencies
See merge request tildes/tildes!162
2 months ago
talklittle
f7db52a4a5
Update Black to 25.1.0
See merge request tildes/tildes!161
2 months ago
talklittle
4a31380fad
Support Unicode 16.0 emoji via unicodedata2 package
See merge request tildes/tildes!159
3 months ago
Andrew Shu
f6c97ac9db
Fix code block formatting in CONTRIBUTING.md
3 months ago
Andrew Shu
09a5943225
Update CONTRIBUTING.md to reflect versioned Git branch setup
3 months ago
Andrew Shu
6a0d9b40e0
Bump Docker version in GitLab CI
3 months ago
Bauke
a004d031e9
Rework disallowing self bans by using the user ACL instead.
7 months ago
Bauke
863c3d998e
Disallow a user from banning themselves.
Closes tildes-community/tildes-cf#9
See merge request tildes-community/tildes-cf!12
9 months ago
Simon Lundström
24d3f829cd
Add RFC4685 replies link to Atom feed
2 years ago
Andrew Shu
495c6da890
Update GitLab CI to run on staging-* and develop-* versioned branches
3 months ago
Andrew Shu
e6e9661e35
Set tildes version to 1.100.0 in package.json
This is an arbitrary version number to reflect the
beginning of our new git branch versioning setup.
3 months ago
Andrew Shu
0a9a1669e3
Run GitLab CI on "staging" and "develop" branches
9 months ago
Bauke
d16a537059
Hide the inner <details> text from comment excerpts but include the <summary> text.
Closes tildes-community/tildes-cf#4
See merge request tildes-community/tildes-cf!13
9 months ago
talklittle
3a857108d2
Restore project APT repos which are more up-to-date than Debian repo
Closes tildes-community/tildes-cf#31
See merge request tildes-community/tildes-cf!15
9 months ago
talklittle
6e85d8fef4
Run GitLab CI pipeline on merge requests
See merge request tildes-community/tildes-cf!14
9 months ago
talklittle
ba25720681
Skip linkify escaped username reference
Closes tildes-community/tildes-cf#12
See merge request tildes-community/tildes-cf!10
9 months ago
talklittle
0f1658fe06
Disable default redis service from APT
See merge request tildes-community/tildes-cf!11
9 months ago
talklittle
65bf6af141
Install prebuilt Redis and cmark-gfm from APT
See merge request tildes-community/tildes-cf!9
9 months ago
talklittle
4210b1e3e8
Use prebuilt Python 3.11 instead of building Python 3.9
Closes tildes-community/tildes-cf#14
See merge request tildes-community/tildes-cf!8
9 months ago
talklittle
58784c4465
Reload gunicorn from cronjob, delete gunicorn_reloader
Closes tildes-community/tildes-cf#3
See merge request tildes-community/tildes-cf!6
9 months ago
Andrew Shu
b97eaed93c
Use better defaults for vagrant user in Dockerfile
The adduser script is recommended over useradd in Debian.
Sets Bash as default shell instead of /bin/sh, in particular.
Closes tildes-community/tildes-cf#18
See merge request tildes-community/tildes-cf!7
9 months ago
Andrew Shu
49f2c09258
Tell user to reboot Docker container after initial provisioning
This is needed so systemd services are properly monitored
by systemctl3.py in the Docker container.
Closes tildes-community/tildes-cf#13
See merge request tildes-community/tildes-cf!4
9 months ago
Bauke
cb6c1ea43d
Fix the Pyramid debug toolbar not being accessible in the Docker-based Vagrant environment.
Closes tildes-community/tildes-cf#8
See merge request tildes-community/tildes-cf!3
9 months ago
talklittle
6be3688d3c
GitLab CI testing
See merge request tildes-community/tildes-cf!2
9 months ago
talklittle
49886af37e
Add Docker provider for Vagrant development environment
See merge request tildes-community/tildes-cf!1
9 months ago
Deimos
51a456bcf9
ArrayOfLtree: fix handling of "null" string value
If a topic tag is set to "null", the data in the column will have double
quotes around it (to distinguish it from an actual null value). This
wasn't being handled and would cause a crash when trying to parse the
value.
8 months ago
xzi
2962f0388b
Readd Nord + Black reformat topic.py
2 years ago
Deimos
f355bc6a80
robots.txt: Block OpenAI GPTBot
2 years ago
kencx
d0d6b6d3dc
Require password when modifying account recovery
2 years ago
Bauke
462dbfb580
Map the content_security_policy header to the request_uri.
2 years ago
Deimos
0bfcea102b
Fix groups with subgroups for logged-out viewers
2 years ago
Deimos
a6de9d4880
Order subgroups in sidebar alphabetically
2 years ago
Deimos
11370abe7d
Show topics from subscribed subgroups (toggleable)
Now that we have more subgroups, it was an issue that visiting a parent
group would always show the topics from all of the subgroups, regardless
of whether you were subscribed to them or not.
This changes it so that, by default, only topics from subgroups the user
is subscribed to will be shown. There is also a link at the top of the
listing to toggle to the other view (all subgroups or only subscribed
subgroups).
2 years ago
Aeledfyr
991fe087f4
Add ids to settings headings to allow links to sub-sections
Fixes #638
2 years ago