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
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
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
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.
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
Luna D.
70cde5d4b2
import mockinstance
2024-05-01 09:26:01 +02:00
Liam
7119660451
wrap
2024-04-30 21:27:02 -04:00
David Joseph Guzsik
5643660806
Eliminate chai-dom and restore @testing-library/jest-dom ( #244 )
2024-04-30 18:20:14 -04:00
David Joseph Guzsik
2417f40d37
Switch jest unit tests to vitest ( #243 )
...
* Switch jest unit tests to vitest
* Cleanup vite config after debugging
2024-04-30 20:44:26 +02:00
Nighty
dd8c2c81d9
Vite HMR for JS/TS (and jankily for CSS) ( #242 )
...
* prelim work on vite reload
* the best solution to a problem is usually the easiest one
2024-04-30 13:13:46 -04:00
Liam
ac908d2efd
Remove tslib
2024-04-29 21:30:13 -04:00
Nighty
42cd107b2a
Vite ( #240 )
...
* begin vite stuff (does not work yet)
* finalize vite switch + cleanup package.json
* Assets path, re-add async, fix z
* Remove source-map-support
---------
Co-authored-by: Liam <byteslice@airmail.cc>
2024-04-29 20:39:52 -04:00
liamwhite
b1a23292fa
Whitespace tolerance ( #237 )
...
* Use flexbox for centering image blocks
* Fix tab display
* Make tag list wrappable and HTML whitespace tolerant
* Make header navigation HTML whitespace tolerant
2024-04-27 22:19:57 -04:00
Liam
089816845e
Silence any lint on window.location mock
2024-04-22 18:45:42 -04:00
liamwhite
df2e336a24
upload: add pinning test ( #231 )
2024-04-22 18:43:36 -04:00
liamwhite
88a1131f35
input-duplicator: migrate to TypeScript ( #230 )
2024-04-22 18:43:27 -04:00
liamwhite
33a713310a
timeago: migrate to TypeScript ( #226 )
2024-04-16 08:02:12 -04:00
liamwhite
3cba72ec4c
ujs: migrate to TypeScript ( #225 )
...
* ujs: migrate to TypeScript
* Address review comments
2024-04-16 08:02:03 -04:00
Liam
394c23893c
Fix leftover jsdoc
2024-04-15 20:36:57 -04:00
Liam
c8f9e7e565
Resolve jest config deprecations
2024-04-15 08:38:31 -04:00
mdashlw
1f440475ed
fix sources block not updating properly after saving ( #216 )
2024-03-24 11:44:48 -04:00
mdashlw
921ad0c59a
Autocomplete fallback ( #215 )
...
* autocomplete: fallback to fetch if local returns no results
* fix: don't show autocomplete if by the time fetch is complete value had already changed
* autocomplete tag controller: lower images count req from 4 to 1
2024-03-24 11:38:23 -04:00
liamwhite
3590be1429
match_query: unit test and rewrite for TypeScript ( #208 )
...
* match_query: unit test and rewrite for TypeScript
* match_query: use new type for parse errors
* match_query: avoid exceptional control flow in date parsing
2024-03-18 08:20:47 -04:00
Liam
07d326b5bd
Remove unused cable import
2024-03-17 16:13:19 -04:00
Liam
a608ff4af8
Add assertion utilities
2024-03-17 16:12:50 -04:00
Liam
1f69cee296
Remove JS polyfills
...
These are no longer needed on any browser we support.
2024-03-04 21:54:09 -05:00
Liam
14b117bc27
npm update
2024-03-04 11:59:05 -05:00
Liam
49e94afa1e
Fix subscription targets
2024-03-03 00:31:06 -05:00
dependabot[bot]
cf013cd0c3
Bump @adobe/css-tools from 4.2.0 to 4.3.2 in /assets ( #199 )
...
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools ) from 4.2.0 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md )
- [Commits](https://github.com/adobe/css-tools/commits )
---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30 22:02:43 -05:00
dependabot[bot]
064ad7c52d
Bump @babel/traverse from 7.21.5 to 7.23.2 in /assets ( #197 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.21.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 15:01:43 -04:00
mdashlw
1918e92c30
Fix setting source url in uploader after fetch ( #195 )
2023-10-12 09:14:30 -04:00
dependabot[bot]
c7c6d883bb
Bump postcss from 8.4.23 to 8.4.31 in /assets ( #194 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.23 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.23...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-07 15:12:06 -04:00
mdashlw
9af22bbde4
Fix my:faves, my:upvotes, my:downvotes in complex filters ( #193 )
2023-10-07 11:07:27 -04:00
dependabot[bot]
b665006083
Bump word-wrap from 1.2.3 to 1.2.4 in /assets
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 04:53:25 +00:00
dependabot[bot]
61e75f1e5f
Bump semver from 6.3.0 to 6.3.1 in /assets ( #189 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 09:23:08 -04:00
dependabot[bot]
074c694840
Bump tough-cookie from 4.1.2 to 4.1.3 in /assets ( #188 )
...
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie ) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases )
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md )
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3 )
---
updated-dependencies:
- dependency-name: tough-cookie
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-09 21:07:50 -04:00
Luna D
41349acfdb
ui improvements
2023-06-02 19:37:03 +02:00
Luna D
1b590c6296
backport parts of image view from redesign
2023-06-01 19:42:30 +02:00
Meow
a569008267
Merge pull request #143 from philomena-dev/sources
...
Multiple sources
2023-05-29 11:16:32 +02:00
Luna D
a771fb1213
check if value is null in tag store validity check
2023-05-29 11:06:39 +02:00
Luna D
b70c0a11f6
merging sources, fix ui bugs, more icons
2023-05-28 18:12:53 +02:00
Luna D
516b35f2fd
added spec coverage for disableEl/enableEl
2023-05-28 16:21:57 +02:00
Luna D
4d3310eef7
few fixes, design + format
2023-05-28 16:21:57 +02:00
SeinopSys
880d27ac1e
revert unintended code formatting changes
2023-05-28 16:21:55 +02:00
SeinopSys
a4b85feadc
implement UI for multiple image sources editing
2023-05-28 16:21:33 +02:00
Luna D
417bb79add
fix build
2023-05-18 14:40:24 +02:00
SeinopSys
9c8b6b8931
replace wrapper function with delegate in draggable utils
2023-05-18 12:53:23 +02:00
SeinopSys
efa5092502
remove unused insertBefore function from dom utils
2023-05-18 12:53:23 +02:00
SeinopSys
87f37ab8d4
adjustments based on PR comments
2023-05-18 12:53:22 +02:00
SeinopSys
aade85a0ff
fix coverage for tag utils
2023-05-18 12:53:22 +02:00
SeinopSys
8ca4a99a1c
fix coverage for image utils
2023-05-18 12:53:22 +02:00
SeinopSys
dc2037ee75
fix coverage for draggable utils
2023-05-18 12:53:22 +02:00
SeinopSys
a9de6e2d66
fix coverage for dom utils
2023-05-18 12:52:17 +02:00
SeinopSys
05cbd1d00c
fix compile error in tests
2023-05-18 12:52:15 +02:00
SeinopSys
445b31bbd7
convert image utils to typescript
2023-05-18 12:50:20 +02:00
SeinopSys
7f7228631d
convert store utils to typescript
2023-05-18 12:50:19 +02:00
SeinopSys
2b4ed32233
convert request utils to typescript
2023-05-18 12:50:19 +02:00
SeinopSys
cccbcd041f
convert local autocompleter to typescript
2023-05-18 12:50:19 +02:00
SeinopSys
6d85535abd
convert event utils to typescript
2023-05-18 12:50:19 +02:00
SeinopSys
7f744a2a46
convert draggable utils to typescript
2023-05-18 12:50:19 +02:00
SeinopSys
0628eb0c23
convert array, dom and tag utils to typescript
2023-05-18 12:50:16 +02:00
dependabot[bot]
a1ab17638a
Bump yaml, css-minimizer-webpack-plugin and postcss-loader in /assets ( #181 )
...
Removes [yaml](https://github.com/eemeli/yaml ). It's no longer used after updating ancestor dependencies [yaml](https://github.com/eemeli/yaml ), [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin ) and [postcss-loader](https://github.com/webpack-contrib/postcss-loader ). These dependencies need to be updated together.
Removes `yaml`
Updates `css-minimizer-webpack-plugin` from 4.2.2 to 5.0.0
- [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/compare/v4.2.2...v5.0.0 )
Updates `postcss-loader` from 7.0.2 to 7.2.4
- [Release notes](https://github.com/webpack-contrib/postcss-loader/releases )
- [Changelog](https://github.com/webpack-contrib/postcss-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/postcss-loader/compare/v7.0.2...v7.2.4 )
---
updated-dependencies:
- dependency-name: yaml
dependency-type: indirect
- dependency-name: css-minimizer-webpack-plugin
dependency-type: direct:production
- dependency-name: postcss-loader
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 21:36:53 -04:00
byte[]
3a2492160e
Bust clientside caches
2023-03-30 09:45:14 -04:00
byte[]
145ee74c69
Fix embedded image views for small images
2023-03-29 10:59:28 -04:00
Luna D
d512ff1147
fix terser options for prod
2023-03-21 17:23:16 +01:00
dependabot[bot]
9414411a9d
Bump webpack from 5.75.0 to 5.76.0 in /assets ( #175 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 09:20:22 -04:00
byte[]
44e592e382
increase precedence of escape matching in match_query
2023-02-25 20:25:32 -05:00
Luna D
128fd1e970
fix fa
2023-02-18 23:05:20 +01:00
Luna D
5f1c112b08
pass ci for real now also foxes cute
2023-02-18 22:36:15 +01:00
Luna D
30f78e003a
fix lint?
2023-02-18 22:29:19 +01:00
Luna D
18cd73704b
bump depends
2023-02-18 22:26:26 +01:00
dependabot[bot]
be5472f62f
Bump json5 from 2.2.1 to 2.2.3 in /assets ( #172 )
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-08 11:22:07 -05:00
Luna D
47c15a38d8
update all dependencies, elixir and postgres
2022-11-20 13:54:57 +01:00
dependabot[bot]
26d71d66d7
Bump terser from 4.8.0 to 4.8.1 in /assets ( #167 )
...
Bumps [terser](https://github.com/terser/terser ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 21:46:53 -04:00
Luna D
b346ffcd5c
update to FA6, move npm depends
2022-04-02 14:41:15 +02:00
dependabot[bot]
d618956bd5
Bump minimist from 1.2.5 to 1.2.6 in /assets ( #164 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 11:20:03 +02:00
Eliot Partridge
467bfddcba
Fix select background color in header, re-add hover color ( #163 )
2022-03-25 19:53:57 -04:00
Meow
b6248e22ee
Merge pull request #161 from philomena-dev/approval
...
Approval Queue
2022-03-25 08:56:23 +01:00
Eliot Partridge
1a6eb05cc4
Fix background color being reset on select options ( #159 )
2022-03-24 17:27:43 -04:00
Luna D
dce3ccb430
make js linter happy
2022-03-24 19:07:51 +01:00
Luna D
26deaaf588
approval queue stuff
2022-03-24 18:44:39 +01:00
SeinopSys
6e1b22ba80
update NPM dependencies
2022-01-31 22:47:10 +01:00
David Joseph Guzsik
997d6e0cb5
Add JS utility unit tests with Jest ( #144 )
2022-01-31 14:28:38 -05:00
byte[]
18d385283b
Undo normalize.css hack for own-line subscript and superscript tags
2022-01-20 19:54:34 -05:00
byte[]
ce5405c670
Allow disabling of tag suggestion filtering
2022-01-20 17:37:05 -05:00