Commit graph

334 commits

Author SHA1 Message Date
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
byte[]
5c7bc65a47 Associations off by one 2021-12-29 22:15:14 -05:00
byte[]
cf80b6a63b offset negative index by 1 2021-12-29 21:13:39 -05:00
byte[]
eb80be2a5b Bust caches 2021-12-29 20:10:47 -05:00
byte[]
b06647838d Fix alias handling 2021-12-29 20:08:41 -05:00
byte[]
a60fe1c48c Fixed implementation 2021-12-29 19:52:15 -05:00
byte[]
25e9739383 Handle aliases, names in namespace 2021-12-27 18:19:08 -05:00
liamwhite
dadc2f1585
Local autocomplete (#151) 2021-12-26 19:16:21 -05:00
byte[]
8da6cab713 Correct fix for abort prompt 2021-12-26 09:57:59 -05:00
Luna D
59ab936910
update packages 2021-12-20 22:14:47 +01:00
byte[]
4e7d1988ee Confirm batch tag abort 2021-12-15 19:12:05 -05:00
byte[]
9bb2ed3666 More robust spoilering 2021-12-12 12:34:30 -05:00
Luna D
87ecd1009f
fix cell sizes 2021-11-30 23:09:04 +01:00
Luna D
b6cd7d3cb0
redesign staff list 2021-11-30 22:17:47 +01:00
byte[]
227bec0a0b Fix invocation error 2021-11-16 20:21:12 -05:00
Luna D
cbe5a0dfa7
fix line height inconsistency in communications 2021-10-28 09:58:24 +02:00
byte[]
d43ae04c1c Be more careful about caching the input query for autocomplete 2021-10-25 21:18:07 -04:00
byte[]
fbae2a9185 Propagate MIME type information (for SVG upload previews) 2021-10-18 22:16:33 -04:00
David Joseph Guzsik
77e689e29a
Integrate Eslint and TypeScript into build & linting process (#142) 2021-10-09 15:58:07 -04:00
liamwhite
10fc962da6
Video upload previews (#141) 2021-10-05 21:31:50 -04:00
Luna D
f6a4474fec
forgot mobile -__- 2021-10-05 00:00:30 +02:00
Luna D
b6a7e5f8b9
make blockquotes more compact 2021-10-04 23:52:28 +02:00
Luna D
34fb72c1af
increase spacing between lines and paragraphs 2021-10-04 21:51:26 +02:00
Luna D
d1d53c9537
ensure image doesn't try to be larger than width 2021-10-04 21:51:26 +02:00
SeinopSys
ea96900707
add spaces at end of lines which only contain blockquote markers 2021-10-03 20:08:14 +02:00
Luna D
a7c3fd78ea
fix overflows 2021-10-01 16:17:51 +02:00
Luna D
f971a20c44
use better-support jshite 2021-10-01 16:11:28 +02:00
Luna D
6dc5bbe7ac
fix reply and quote btns 2021-10-01 16:03:42 +02:00
Luna D
46802d3061
minor css tweaks 2021-10-01 15:44:49 +02:00
SeinopSys
b5d9c0fee3
prevent text inputs from being resized below their default height 2021-10-01 00:58:06 +02:00
SeinopSys
2bb86c9e3b
fix typing in markdown input causing page scroll position changes 2021-10-01 00:58:00 +02:00
SeinopSys
f61cc6d0be
revert split editor styling, update markdown toolbar buttons' behavior 2021-09-30 21:11:48 +02:00
SeinopSys
b8aa9b2c9c
eliminate obsolete workarounds from markdown toolbar, update escape regex 2021-09-30 21:11:48 +02:00
SeinopSys
9ac7abdf54
fix code formatting 2021-09-30 21:11:48 +02:00
SeinopSys
71fa95e462
initial implementation of markdown-based text editor 2021-09-30 21:11:48 +02:00
Luna D
cafc2b9875
npm update 2021-09-30 20:51:56 +02:00
liamwhite
e9fc4d28fb
Webpack 5 (#140) 2021-09-29 12:31:41 -04:00
Luna D
5450110797
fix code tags being visible from under spilers 2021-09-23 17:18:14 +02:00
Luna D
c86e449f42
render static pages with unsafe markdown 2021-09-23 17:02:21 +02:00
Luna D
455583fb2e
better styling for code blocks 2021-09-23 15:53:20 +02:00
Luna D
8f700c0bed
lock nth-check to fixed ver 2021-09-22 22:09:07 +02:00
Luna D
8f1718470b
npm update 2021-09-22 21:59:20 +02:00
Luna D
708852f3b5
fix spoilers 2021-09-22 21:55:06 +02:00
Luna D
235dd81469
reduce top margin of p 2021-09-22 00:54:26 +02:00
Luna D
e88e27ccfd
bunch of small fixes 2021-09-22 00:43:51 +02:00
Luna D
4938892011
improve the looks of blockquotes when nested a lot 2021-09-20 20:24:44 +02:00
Luna D
4b46ca803f
preliminary textile-markdown converter 2021-09-12 16:33:05 +02:00
byte[]
4184e94219 fix unintentional global usage in tagsinput 2021-09-09 22:57:29 -04:00
byte[]
6ba8f22311 Dependency updates 2021-08-31 20:33:20 -04:00
byte[]
83319cab1b Add better error pages 2021-08-20 21:07:48 -04:00
byte[]
0e7b2e27bd various dependency updates 2021-08-14 22:43:05 -04:00
byte[]
66136feacd npm updates 2021-08-03 23:56:23 -04:00
byte[]
3aa7396c8f npm update 2021-07-09 23:17:15 -04:00
byte[]
1bbb260e83 npm deps 2021-05-26 17:21:49 -04:00
liamwhite
283ec72743
Elixir 1.12 (#120)
* update docker deps

* dep updates and warning fixes

* update npm deps
2021-05-22 16:18:24 -04:00
byte[]
86f4508f50 npm 2021-05-09 13:10:46 -04:00
byte[]
3d9780700f npm dependency updates 2021-04-12 17:27:04 -04:00
byte[]
724a2590fa npm updates 2021-03-31 21:30:39 -04:00
dependabot[bot]
70c95800ca
Bump ssri from 8.0.0 to 8.0.1 in /assets (#107) 2021-03-21 12:43:05 -04:00
byte[]
d375691437 update webpack to 5 2021-03-21 12:34:33 -04:00
byte[]
af4863525f npm updates 2021-03-09 11:09:37 -05:00
yoditax
63bb8285d9
Reverted behavior on 'O' shortcut to open image in same tab (#101)
Co-authored-by: yoditax@net.com <yoditax@net.com>
2021-03-03 10:20:52 -05:00
byte[]
7fa9cd56f6 add mass selection to tag changes reversion (derpibooru/philomena#239) 2021-03-01 12:09:41 -05:00
byte[]
fad734b50c fix extra markup surrounding empty lines in textile toolbar 2021-02-25 15:03:39 -05:00
Erhannis
21dcd0c9df In upload, in url field, fetch when 'enter' key (#55) 2021-02-20 14:24:39 -05:00
byte[]
f6c8d57bdf fix autocomplete and fetch controller paths 2021-02-09 17:37:54 -05:00
Luna D
a5904b1fcd
make footer a column on mobile 2021-02-02 20:13:30 +01:00
Luna D
4a160e1772
prevent source link overflow 2021-02-02 19:58:22 +01:00
Luna D
3810092a17
npm update 2021-02-02 19:58:04 +01:00
stsyn
396ecafa6c
Use even larger thumb if normal size is medium already (#92) 2021-01-16 16:40:28 -05:00
byte[]
ef85ad26d9 overflow page title correctly (fixes derpibooru/philomena#193) 2020-12-19 14:00:05 -05:00
byte[]
2e8a5e92c9 add score-hiding snip per request 2020-12-16 09:35:58 -05:00
byte[]
358691711b fix up user-facing pagination widgets 2020-12-11 11:53:40 -05:00
byte[]
92d7e3c30c another npm dependency vulnerability 2020-12-11 10:58:01 -05:00
byte[]
0faa10bd12 these stylesheets are an absolute travesty 2020-12-10 16:02:01 -05:00
byte[]
52dd9684c2 the css in this project annoys me so much 2020-12-10 15:22:37 -05:00
byte[]
daaf2f5883 missing declarations for previous 2020-12-10 01:38:12 -05:00
byte[]
214173095c since you asked so nicely 2020-12-10 01:30:41 -05:00
byte[]
4c289510a7 tighten tolerance for paginator widget, add dropdown with missing quick page navigation 2020-12-10 01:26:13 -05:00
byte[]
0cf48f0eab preserve vote/fave status on navigation (fixes philomena-dev/philomena#82) 2020-12-09 00:04:37 -05:00
byte[]
c1ec2b3df2 collapse image list pagination in low width 2020-12-08 21:30:13 -05:00
byte[]
5c51775f94 Revert "automatically apply system-wide theme preference for anonymous users (fixes philomena-dev/philomena#36)"
This reverts commit edcd4ebfde.
2020-12-08 00:21:44 -05:00
byte[]
edcd4ebfde automatically apply system-wide theme preference for anonymous users (fixes philomena-dev/philomena#36) 2020-12-06 13:04:54 -05:00
byte[]
7803050666 don't interfere with media controls (fixes philomena-dev/philomena#77) 2020-12-02 19:19:37 -05:00
byte[]
aaf04544b6 add tag_count to supported clientside fields (fixes philomena-dev/philomena#78) 2020-12-02 18:31:15 -05:00
Meow
685159587c
Merge pull request #73 from parasprite/Artist-links-code
Makes user links artist links
2020-12-02 19:30:07 +01:00
byte[]
c86783290b npm update 2020-12-01 00:05:29 -05:00
Parasprite
a244b8d322 Updates user link to artist link (code side)
make user link


Update structure for artist links


bap
2020-11-26 15:30:17 -05:00
yoditax
e45cbc00c8
Added new shortcut to open full images 'V'. Changed behavior to open new tab (#68)
Co-authored-by: yoditax@net.com <yoditax@net.com>
2020-11-24 14:58:30 -05:00
byte[]
0036da2b5e automatically bracket inline textile formatting when required (fixes derpibooru/philomena#225, furbooru/philomena#49) 2020-11-15 21:37:49 -05:00
liamwhite
c7ace12132
Elixir 1.11 (#55) 2020-10-26 17:01:29 -04:00
Luna D
60b2c01a71
allow < in tag input (fixes philomena-dev/philomena#35 2020-10-21 19:17:24 +02:00
stsyn
4a61a0d213
quotes are fine, undoing as well 2020-10-21 19:09:11 +02:00
stsyn
995ca3bc3c
Fixed wrong negation
if search term has parentheses and in parentheses by itself
2020-10-21 19:09:04 +02:00
stsyn
4d96843286
Update match_query.js
fix quoting
fix not operand loss
2020-10-21 19:08:52 +02:00
byte[]
a00cdab739 improve ajax error messages 2020-09-27 23:53:14 -04:00
Luna D
388487db81 increase the size of staff labels 2020-09-17 16:01:50 -04:00
byte[]
d76f1d6fdb ensure inputs to be reenabled have an enable-with attribute 2020-09-15 13:47:30 -04:00
byte[]
50da6c7f3c add quick tag button to toggle all 2020-09-14 23:30:48 -04:00
byte[]
074453ddf1 allow removing existing tag with -tag, ctrl+enter for form submission, disable autocomplete on tag editor 2020-09-14 22:00:44 -04:00
byte[]
d03b5a2c82 add shortcut to open full image (furbooru/philomena#32) 2020-09-14 21:35:28 -04:00
byte[]
6de4ad3ac4 ensure disabled form inputs are reset after browser navigation 2020-09-14 20:53:11 -04:00
Luna D
da38408ef4 increase line spacing 2020-09-12 19:45:25 -04:00
liamwhite
653fd0a4af
hCaptcha (#19) 2020-09-12 13:43:16 -04:00
byte[]
45402bd44f add body type tag category 2020-09-12 11:45:35 -04:00
byte[]
7ca2c44a5e fix downvote spoiler regression 2020-09-11 21:30:04 -04:00
byte[]
912e64559b don't autocomplete on mouseover (furbooru/philomena#15) 2020-09-10 03:04:47 -04:00
byte[]
67832f623a place webm url first 2020-09-06 13:12:26 -04:00
byte[]
3ba1567a4b npm update 2020-09-06 12:41:23 -04:00
Luna D
6a3d292983 bump up this thing's importance 2020-08-28 13:23:17 -04:00
Luna D
b5637e9afb user link stuff (untested) 2020-08-28 13:23:17 -04:00