Commit graph

1118 commits

Author SHA1 Message Date
Luxray5474
b15651ee49 Reverted client-side JS modifications 2020-08-30 21:28:32 -04:00
Luxray5474
4b73227645 Wording changes 2020-08-30 11:08:52 -04:00
Luxray5474
1796b837b5 reverted indentation on search help 2020-08-30 08:28:08 -04:00
Luxray5474
6e619465cf Fixed Alembic migrations to use python instead of SQL 2020-08-29 15:49:02 -04:00
Luxray5474
c903218b8f features 2020-08-27 10:31:20 -04:00
Luxray5474
a0f8c23343 Implement proper Alembic migration 2020-08-27 09:55:06 -04:00
Luxray5474
8eaac35ad4 Merge branch 'file-last-modifed-time' of https://github.com/Luxray5474/szurubooru into file-last-modifed-time 2020-08-26 14:46:22 -04:00
Luxray5474
bfa235a25d Merge branch 'master' into file-last-modifed-time 2020-08-26 14:45:09 -04:00
L5474
a622e87c17
Merge pull request #2 from sgsunder/Luxray5474-file-last-modifed-time
Add alembic migration script template (template not filled)
2020-08-26 14:36:42 -04:00
Shyam Sunder
717dc37599 Add alembic migration script template (template not filled) 2020-08-26 13:11:05 -04:00
Luxray5474
0c65406743 Implement flmt updating as content is updated 2020-08-24 21:34:45 -04:00
Luxray5474
04169c6942 Updated and polished documentation 2020-08-24 21:01:04 -04:00
Luxray5474
955328735f Added to tests 2020-08-24 19:11:03 -04:00
Luxray5474
8e900e2d3f Implement sorting by flmt 2020-08-24 18:08:04 -04:00
Luxray5474
a13bcbea25 Implement flmt default to creationdate if URL
If a URL is given instead of a file, flmt will default to creationdate.
This is temporary (?) since we can't easily find flmt from URL.
2020-08-24 16:58:33 -04:00
Luxray5474
fd50c36ec2 Merge branch 'master' of https://github.com/Luxray5474/szurubooru 2020-08-24 08:58:50 -04:00
L5474
a385b93f0c
Merge pull request #1 from Luxray5474/file-last-modifed-time
File last modifed time
2020-08-24 08:51:06 -04:00
Luxray5474
22f2b21450 Merge branch 'master' into file-last-modifed-time 2020-08-24 08:48:25 -04:00
Luxray5474
82bb9c63c8 pre-commit stuff and and pytest updates 2020-08-23 23:25:09 -04:00
Shyam Sunder
1bbcaf11f7 client/posts: add tag implications when autocompleting mass tag inputs
Closes #334. This solution should function similar to single post
tagging. Implications are automatically added but this also allows
for them to review and manually remove any unwanted implications.
2020-08-23 13:11:19 -04:00
Shyam Sunder
3e69edc117 dev/pre-commit: move pytest hook to 'push' stage 2020-08-22 22:08:52 -04:00
Luxray5474
bb6f9bde68 Polished sidebar UI 2020-08-22 14:25:42 -04:00
Luxray5474
a2b0d1cbd4 Fixed flmt being the same as creation time 2020-08-22 13:50:43 -04:00
Luxray5474
65c9c89628 Fixed the "error setting get-only" error 2020-08-22 13:49:57 -04:00
Shyam Sunder
74c97efdef client/search: fix autocomplete for composite queries
Fixes #342
2020-08-22 10:17:59 -04:00
Luxray5474
239bc0a14d Initial commit, not complete
+ Create new sql column for file last modified time (flmt)
+ Implement uploading of flmt to server
+ Implement flmt in post model
+ Ability to read flmt thru API
+ New section in post_readonly_sidebar that shows flmt
! Somehow flmt is the same as post creation time
! Implement proper alembic migrations
! Implement ability to sort by flmt
! Implement ability to filter posts by flmt
! Code cleanup
~ Polish post sidebar
~ Implement flmt visibility in post listing hover text
~ Implement function in misc.js that formats to absolute date
2020-08-21 23:32:15 -04:00
Shyam Sunder
4595f9a2aa server: API support for webhooks
Closes #339
2020-08-13 22:41:43 -04:00
Shyam Sunder
b74492974d doc/developer-utils: added helper script for easily creating szurubooru migrations 2020-08-13 12:38:43 -04:00
dependabot[bot]
3edc07b7f8 client/build: bump elliptic from 6.4.0 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.4.0 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.4.0...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-13 11:53:04 -04:00
dependabot[bot]
9189842524 client/build: bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 14:38:53 -04:00
Ben Klein
800a79f95f client/css/snapshot-list-view: use alpha for dark
using alpha and an is-dark check to support dark color schemes in the
history page
2020-07-08 17:45:21 -04:00
Shyam Sunder
13e2888ae4 client/js/views: fix pool links for deleted pools
Fixes #333
2020-07-08 17:28:20 -04:00
Shyam Sunder
b037ce80c3 client/css: make add/remove button for mass tag larger
Fixes #322
2020-06-24 22:37:40 -04:00
Shyam Sunder
0137cf383a client/markdown: use DOMPurify over marked.js sanitizer
See markedjs/marked#1232
2020-06-23 13:24:59 -04:00
Shyam Sunder
342ca9ccba client/build: fix npm audit 2020-06-23 12:58:44 -04:00
Shyam Sunder
d420609f97 client/pools: inherit option to show underscores as spaces 2020-06-23 12:36:26 -04:00
Shyam Sunder
029c112011 client/html: fix upload error when pool input is disabled 2020-06-22 16:44:41 -04:00
Shyam Sunder
b8c5b27195 client/html: hide 'pools' in navbar if user doesn't have privileges 2020-06-22 15:47:57 -04:00
Shyam Sunder
018e3df31d client/html: fixed pool summary view 2020-06-22 12:48:54 -04:00
Shyam Sunder
57193b5715 client+server: implement code autoformatting using prettier and black 2020-06-06 08:58:23 -04:00
Shyam Sunder
c06aaa63af dev: add pre-commit hooks for pytest and docker building 2020-06-05 12:47:23 -04:00
Shyam Sunder
454685755b dev: added pre-commit hooks for code style consistency
See #325
2020-06-05 11:10:05 -04:00
Shyam Sunder
c0d0c4c894 client+server: normalize trailing newlines 2020-06-05 10:54:32 -04:00
Shyam Sunder
4f46619b91 doc: clean up 2020-06-05 10:29:52 -04:00
Shyam Sunder
e7610db054 client/docker: enforce waitress' max upload limitations on nginx proxy
This ensures that both NGINX and Waitress are using the same max upload
request body. See #327
2020-06-05 10:07:55 -04:00
Shyam Sunder
ea623449e7 server: format code to flake8 2020-06-05 10:02:18 -04:00
Shyam Sunder
c5358f7f83 client+server: add post pools feature 2020-06-04 21:01:28 -04:00
Shyam Sunder
4329b1620f client/js: format code to ESLint 2020-06-04 19:02:33 -04:00
Shyam Sunder
48c9001194 server/docker: include setuptools in installation 2020-06-04 18:51:30 -04:00
Shyam Sunder
ea675d20cb server/docker: fix missing installation requirements
Furthermore, an update to Pillow has improved the floating-point
precision of the image hash algorithm, requiring minor updates to
the respective unit tests.

See https://github.com/python-pillow/Pillow/pull/4320
2020-06-04 16:38:26 -04:00