Andrew Shu
6b3c247963
Run prettier on JS files
$ node node_modules/.bin/prettier static/js/ --write
1 month ago
Andrew Shu
e032d38779
Set type module in package.json
Silences eslint.config.js warning MODULE_TYPELESS_PACKAGE_JSON
1 month ago
Andrew Shu
726a623608
Update eslint and prettier npm packages
Involves migrating eslint configuration to eslint.config.js
https://eslint.org/docs/latest/use/configure/migration-guide#migrate-your-config-file
1 month ago
Andrew Shu
d833459c05
Run npm audit fix
1 month ago
Andrew Shu
61202177f5
Fix nit nginx conf comment
1 month ago
Andrew Shu
f26f743002
Fix creating swagger-ui assets directory
1 month ago
Andrew Shu
fd861c6772
Update NPM package-lock.json after removing swagger-ui
1 month ago
Andrew Shu
a2929df6b6
Serve Swagger UI JS and CSS files from Cloudflare CDN
This removes the dependency on NPM in production.
1 month ago
talklittle
834294ecac
Mark some API properties as nonnull
See merge request tildes/tildes!167
2 months ago
talklittle
9175db5cde
Serve swagger-ui assets from npm package
See merge request tildes/tildes!169
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
Aeledfyr
5081b86140
Apply proper styling to comments that are both new and by OP
Fixes #371 .
Adds `.is-comment-by-op` class even if the comment is new or by
the current user. This fixes the bolding of the "(OP)" tag and
preserves the colors from `new` or `mine`, which have priority
over `op` due to their ordering in `_comment.scss`.
2 years ago
Aeledfyr
a2599276b2
Keep dropdown menu visible when using keyboard navigation
Part of #747 , prevents the dropdown menu from hiding itself
when the user tabs to an item in the list.
2 years ago