Commit graph

443 commits

Author SHA1 Message Date
KoloMl
0122efcbc8 Fixed asserting throwing an error when user is not logged in
This selector is optional and does not exist for the not-logged-in
users. We don't really need to assert it existence in this case.
2024-08-09 00:22:56 +04:00
Liam
c30406bcca Fix notification dismissal 2024-07-29 19:51:25 -04:00
mdashlw
b442d983b0
feat: use keyCode for markdown shortcuts 2024-07-21 19:08:38 -07:00
mdashlw
9ca1a50a0a
feat: use keyCode instead of key 2024-07-21 19:05:35 -07:00
Liam
aea131afe4 New notifications UI: separated by category 2024-07-08 08:26:30 -04:00
Luna D.
34d45b4197 Use prettier for JS formatting 2024-07-05 21:48:17 -04:00
Luna D.
f002825c99 Add prettier to dependencies 2024-07-03 20:59:40 -04:00
Luna D.
fbd18fd1fd
arrowParens: avoid 2024-07-03 23:03:46 +02:00
Luna D.
33ede2722b
prettier 2024-07-03 22:54:14 +02:00
Luna D.
db88434d80
fix theme select for prod 2024-07-03 22:00:12 +02:00
Luna D.
2b13d6ebc3
bump typescript-eslint 2024-07-03 21:47:01 +02:00
Luna D.
625c30aaae
functioning theme selector 2024-07-03 21:32:27 +02:00
Luna D.
774072945a
the remaining themes 2024-07-02 22:43:06 +02:00
Luna D.
7bb79bc17f
fix warnings 2024-07-02 21:42:21 +02:00
Luna D.
128f63639f
Merge remote-tracking branch 'origin/master' into redesign 2024-07-02 21:37:16 +02:00
Luna D.
038d74d17c
change header 2024-07-02 21:35:38 +02:00
Luna D.
c9846820ff
simplify themes 2024-07-02 21:32:39 +02:00
Luna D.
bb45fcc651
filters and communications 2024-07-02 20:09:30 +02:00
Liam
a1c09c6c53 Use key instead of code 2024-06-30 10:11:31 -04:00
liamwhite
dd9091e866
Merge pull request #308 from philomena-dev/misc-ts
convert misc scripts to ts
2024-06-23 15:04:17 -04:00
Liam
e5b476f07f Further simplify formResult, setupEvents 2024-06-23 14:56:31 -04:00
Luna D.
97ef88ec10 convert notifications to typescript 2024-06-23 14:43:08 -04:00
Luna D.
e30a1922ed
convert misc scripts to ts 2024-06-23 19:59:38 +02:00
Luna D.
b329f6d5aa
convert misc scripts to ts 2024-06-23 19:59:06 +02:00
Luna D.
6e1cb36eb6
convert notifications to typescript 2024-06-23 19:21:24 +02:00
Luna D.
b9daccf9fe
Merge remote-tracking branch 'origin/master' into redesign 2024-06-23 18:48:16 +02:00
Liam
3129992108 Fix name of function 2024-06-23 11:31:10 -04:00
Luna D.
e23a4c541c convert burger menu logic to typescript 2024-06-23 11:22:38 -04:00
Luna D.
952993de10
convert burger menu logic to typescript 2024-06-23 14:38:56 +02:00
Luna D.
d96bcb273c
clean up now unused type 2024-06-23 14:38:43 +02:00
Luna D.
ec6c51b7e2
Merge remote-tracking branch 'origin/master' into redesign 2024-06-23 14:16:23 +02:00
liamwhite
77b3ed6675
Merge pull request #292 from philomena-dev/ci-improvements
Small CI improvements
2024-06-18 23:09:27 -04:00
dependabot[bot]
74e61640c8
Bump ws from 8.17.0 to 8.17.1 in /assets
Bumps [ws](https://github.com/websockets/ws) from 8.17.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.17.0...8.17.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-19 02:23:40 +00:00
Liam
ee02fa131d Fix typos 2024-06-18 18:52:46 -04:00
Liam
d0771c7216 Add tests for clientside image filtering 2024-06-17 20:07:19 -04:00
Luna D
bbc1879a1e Convert clientside image filtering scripts to TypeScript 2024-06-15 20:17:45 -04:00
Luna D
97feb0ac00 Add version 4 TypeScript-based FP calculation 2024-06-13 10:24:39 -04:00
Luna D.
64492d8657 eslint 9 2024-06-12 21:35:04 -04:00
Luna D.
c2c4a0b943
profile page appearance 2024-06-13 00:01:15 +02:00
Luna D.
b748383ab1
npm update 2024-06-12 23:06:41 +02:00
Luna D.
66f91be92a
eslint 9 2024-06-12 22:56:58 +02:00
Luna D.
d39556d413
npm update 2024-06-12 21:01:29 +02:00
Luna D.
2fc9a18f9f
editor styling + media list styling 2024-06-12 20:50:46 +02:00
liamwhite
0f7c399b18
Merge pull request #286 from philomena-dev/ts-tags
Convert tag dropdown scripts to TypeScript
2024-06-12 00:10:51 -04:00
Liam
45df8a878e Use Record type for shortcut map too 2024-06-10 20:41:30 -04:00
Luna
4896857bc3 Convert tag dropdown scripts to TypeScript 2024-06-10 20:38:38 -04:00
Luna D.
4e6665e2d6
notification badges, navbar + admin navbar 2024-06-11 01:01:02 +02:00
Luna D.
13735e7d4e
convert tags.js to ts 2024-06-10 23:20:44 +02:00
Luna D.
6ffa24b4b8
fix vite on external devices 2024-06-10 21:18:42 +02:00
Luna D.
90b4ee8915
fix vite on external devices 2024-06-10 21:17:06 +02:00
Liam
922f2db583 Fix selector 2024-06-10 08:09:00 -04:00
Luna D
fe4698aedc Convert gallery rearrangement scripts to TypeScript 2024-06-09 21:49:56 -04:00
Luna D
9ea6fdfb39 Convert tagsmisc and sources scripts to TypeScript 2024-06-09 17:05:23 -04:00
Liam
0b0412786f Fix mismerge 2024-06-09 16:31:12 -04:00
liamwhite
dfbe3dbc84
Merge pull request #281 from philomena-dev/ts-misc
Convert miscellaneous scripts to TypeScript
2024-06-09 13:03:31 -04:00
Liam
b15a17f6fa Fix vite build 2024-06-09 10:06:41 -04:00
Luna D
0bdbc2899e Convert miscellaneous scripts to TypeScript 2024-06-08 23:12:52 -04:00
liamwhite
85ab98c085
Merge pull request #277 from philomena-dev/ts-shortcuts
Convert keyboard shortcut scripts to TypeScript
2024-06-08 23:12:05 -04:00
liamwhite
41af2f1227
Merge pull request #279 from philomena-dev/no-owned-options
Remove long-obsolete owner options scripts
2024-06-08 23:05:45 -04:00
liamwhite
2dfacd6eac
Merge pull request #278 from philomena-dev/ts-staffhider
Convert staffhider to TypeScript
2024-06-08 23:05:36 -04:00
Luna D
924334de49 Convert keyboard shortcut scripts to TypeScript 2024-06-08 23:05:01 -04:00
Luna D
7a6015b549 Convert duplicate report comparison scripts to TypeScript 2024-06-08 20:45:13 -04:00
Luna D
b42c438dd0 Remove long-obsolete owner options scripts 2024-06-06 20:37:47 -04:00
Luna D
43fd14f0a8 Convert staffhider to TypeScript 2024-06-06 20:32:36 -04:00
Luna D.
34ff8abb36
Merge remote-tracking branch 'origin/master' into redesign 2024-06-06 22:55:50 +02:00
Luna D.
44e99997e0
Merge commit '974d2109e2afbc066a2470ddea3f1c5e3ad44945' into redesign 2024-06-06 22:11:43 +02:00
Luna D.
4eeee71b48
deleted comments styling 2024-06-06 20:21:21 +02:00
Luna D.
8ca3902005
port a bunch of stuff to typescript (untested) 2024-06-06 18:48:16 +02:00
Luna D.
b6973eb437
port stuff to ts 2024-06-05 22:56:48 +02:00
Luna D.
97577db065
port staffhider to ts, eslint --fix, new fp 2024-06-04 21:13:31 +02:00
Luna D.
0877ac685b
document and optimize 2024-06-03 23:43:51 +02:00
Luna D.
694bc31e50
graphs and sliders 2024-06-03 23:07:10 +02:00
KoloMl
0381409862 Lowercasing term before running the auto-completion on it 2024-06-03 21:42:58 +04:00
KoloMl
c50abd597f Fixed z-index position of the autocomplete list 2024-06-03 21:35:18 +04:00
Liam
f44491685e Disable search completion by default, use setting to enable 2024-06-03 10:59:49 -04:00
KoloMl
8d2c082413 Disable server-side autocompletion when acSource is not set 2024-06-03 17:48:42 +04:00
KoloMl
f84e358eec Merge branch 'master' into searchbox-ac
# Conflicts:
#	lib/philomena_web/templates/layout/_header.html.slime
2024-06-02 20:51:13 +04:00
KoloMl
1a7d59cb59 Added the local setting to disable auto-completion 2024-06-02 20:40:09 +04:00
KoloMl
7fa141bb54 Increased the suggestions count to 10 for search fields specifically
Default 5 entries feel not enough for search field
2024-06-02 19:59:06 +04:00
KoloMl
9dd26f2f87 Added separate property to control autocompletion mode
This is better than using hardcoded field name.
2024-06-02 19:58:01 +04:00
Liam
a95df5ec42 Add OpenSearch XML description for browsers 2024-06-02 11:53:06 -04:00
Luna D.
0374d0482b
scale x 2024-05-31 20:21:45 +02:00
Luna D.
979c355d9c
oh 2024-05-31 20:18:21 +02:00
Luna D.
23c1a3d565
ticker fix 2024-05-31 20:14:32 +02:00
Luna D.
a3c6cba47e
graphs and fancy comments 2024-05-31 20:07:00 +02:00
KoloMl
3f2e887aec Fixed issues marked by linter 2024-05-30 21:55:41 +04:00
KoloMl
f1aec2fd58 Close autocomplete window when selection moved outside active term by click 2024-05-30 01:37:35 +04:00
KoloMl
f31fcf86b3 Close the autocomplete window once user moved outside current term 2024-05-30 00:32:03 +04:00
KoloMl
8c988b002d Support search field autocompletion, enabled autocomplete for header 2024-05-29 23:57:36 +04:00
Liam
c0ddf55b48 Add lex stage with intermediate result generation 2024-05-28 23:32:48 -04:00
Luna D.
ab30673208
fix dropdown 2024-05-20 23:57:10 +02:00
Luna D.
9d04f2b43e
prettier 2024-05-20 22:30:41 +02:00
Luna D.
f659023649
stylelint 2024-05-20 21:25:43 +02:00
Luna D.
511c419e5e
debranding + spoiler image fix 2024-05-20 19:04:12 +02:00
Eliot Partridge
65da36369d
Pause spoilered videos on image pages, unpause on unspoiler (#259)
* Pause spoilered videos on image pages, unpause on unspoiler

* Add test

* Fix comment
2024-05-14 21:32:45 -04:00
Luna D.
1a741bd80d
better styling 2024-05-07 22:52:17 +02:00
Luna D.
f04666037c
progress today 2024-05-07 19:33:56 +02:00
Luna D.
0de3d98c82
Merge remote-tracking branch 'origin/master' into redesign 2024-05-06 22:18:48 +02:00
Luna D.
6cf90203cb
polyfill js for older browsers i guess 2024-05-06 17:16:15 +02:00
Eliot Partridge
377317a26b
Add local setting to enable audio on videos by default (#252)
* Add local setting to enable audio on videos by default

* Update copy

* Use ternary over `let`+`if`
2024-05-05 17:38:22 -04:00