rr-
0014721053
server/tags: fix retrieving many tags
2017-04-19 14:44:54 +02:00
rr-
77bf3bdc3c
client/posts: add option to disable safety ratings
2017-03-30 20:50:12 +02:00
rr-
c2be365b6e
config: remove unused values
2017-03-30 19:48:48 +02:00
rr-
01e1641475
config: improve comments
2017-03-30 19:47:14 +02:00
rr-
7044d2aaee
server/posts: ignore old elasticsearch results
2017-03-12 18:30:42 +01:00
rr-
49feb932f3
client/tags: merging can now also add aliases
2017-03-04 16:55:53 +01:00
rr-
5681fd11ef
server/net: make the user-agent configurable
...
Fixes #127
2017-03-03 17:27:23 +01:00
rr-
e087b83082
client/notes: don't rely on class names
...
The state names, used by CSS, were being broken by the minifier.
2017-02-26 18:47:53 +01:00
rr-
87b3572ce5
client/paging: fix endless scroll on android
2017-02-26 12:57:24 +01:00
rr-
5467ca6b7e
client/posts: improve placeholder in file dropper
...
The default one was too long to fit in the sidebar
2017-02-21 19:09:18 +01:00
rr-
d00d282bff
client/posts: improve file dropper appearance
2017-02-21 19:00:02 +01:00
rr-
1e58899b03
client/posts: allow updating content from URL
2017-02-21 19:00:02 +01:00
rr-
b27855523a
client/file-dropper: fix drawing long URLs
2017-02-21 18:59:12 +01:00
rr-
34366b72fb
client/file-dropper: add ability to lock URLs
2017-02-21 18:59:12 +01:00
rr-
5dfdfd49e9
client/paging: fix loading on small page sizes
...
Fixes #126
2017-02-19 14:24:01 +01:00
rr-
33b49ebffd
client/paging: fix mass tag double binding
...
Fixes #125
2017-02-19 14:23:58 +01:00
rr-
c01214e919
server/password-reset: support having no smtp
2017-02-17 23:10:51 +01:00
rr-
32d15a493c
client/css: add margin to file dropper button
2017-02-12 10:41:49 +01:00
rr-
aa1f4d3ff8
client/posts: add file extensions info to upload
2017-02-12 10:40:50 +01:00
rr-
1caf76b1b2
client/posts: add bulk safety editing ( #122 )
2017-02-11 22:03:38 +01:00
rr-
0dc7a4058e
client/posts: refactor bulk tag editor
...
Extract the state that controls mass tag form in the posts list header
to a separate class.
It's not exactly a 100% reusable control (the .tpl is shared), but it
should greatly simplify reading the JS.
2017-02-11 21:58:26 +01:00
rr-
0e4e994431
client: rename 'mass tag' to 'bulk edit tags'
...
That way other bulk operations will be easier to name.
This also changes the privilege name.
2017-02-11 19:50:22 +01:00
rr-
eda6d6d02a
client/paging: support item removal ( #123 )
2017-02-09 22:40:02 +01:00
rr-
fdad08e176
server: use index-based paging ( #123 )
2017-02-09 22:40:00 +01:00
rr-
ba7ca0cd87
client/tags: use new color input ( #119 )
2017-02-07 21:34:53 +01:00
Alice Ryhl
a3b3532ca4
server/api: patch timing attack on password reset form
2017-02-07 20:29:37 +01:00
rr-
7f09306dde
server/api: fix unicode urls ( #121 )
2017-02-07 18:03:35 +01:00
rr-
74c583f11d
server/build: fix alembic environment script
2017-02-05 23:29:21 +01:00
rr-
72056e0cd2
server/requirements: fix skimage package name...
...
Brain fart during previous commit...
2017-02-05 23:27:59 +01:00
rr-
ee6b66329b
server/posts: fix search by aspect ratio
...
It was being rounded to nearest integer because of the width/height
columns' data type.
2017-02-05 23:21:43 +01:00
rr-
49e5975254
server/model: use new sqlalchemy import style
2017-02-05 23:21:43 +01:00
rr-
f40a8875c4
server/files: fix import for Py3.5
...
os.DirEntry is available only from Python3.6+.
2017-02-05 22:38:55 +01:00
rr-
4caa980bf8
server/build: add missing dependency
...
Althought szurubooru is now no longer dependent from image-match, the
pulled code still needs the skimage library.
2017-02-05 22:38:05 +01:00
rr-
00c3a4320b
server/posts: support aspect-ratio search query
2017-02-05 22:09:33 +01:00
rr-
0b21d98c9b
server/posts: support note-text search query
2017-02-05 21:51:53 +01:00
rr-
1f14f2fc16
docs/api: add info about wildcards
2017-02-05 21:47:52 +01:00
rr-
6cc18be68d
client/posts: fix editing post relations
...
Regression since e725f4f9
2017-02-05 16:54:11 +01:00
rr-
e725f4f99c
server/api: extra validation of list fields
2017-02-05 16:34:45 +01:00
rr-
705967d0fb
server/scripts: remove lint
...
Any configuration for pycodestyle should go to the new setup.cfg file.
2017-02-05 16:34:45 +01:00
rr-
350e9dd331
server/scripts: replace ./test with setup.cfg
2017-02-05 16:34:45 +01:00
rr-
e490080347
server/scripts: remove migration script
...
It was unmaintained for months (years?) anyway
2017-02-05 16:34:45 +01:00
rr-
ad842ee8a5
server: refactor + add type hinting
...
- Added type hinting (for now, 3.5-compatible)
- Split `db` namespace into `db` module and `model` namespace
- Changed elastic search to be created lazily for each operation
- Changed to class based approach in entity serialization to allow
stronger typing
- Removed `required` argument from `context.get_*` family of functions;
now it's implied if `default` argument is omitted
- Changed `unalias_dict` implementation to use less magic inputs
2017-02-05 16:34:45 +01:00
rr-
abf1fc2b2d
server: make linters happier
2017-02-03 22:42:14 +01:00
rr-
fd30675124
server/image-hash: do not depend on image-match
...
While I hold this library in great esteem for its excellent work on
implementing the original paper, I have several problems with it:
- as of this commit, it (again) has bug fixes unreleased on pip
- its code is badly structured
- forces OOP and then proceeds @staticmethod everything
- bad class design, parameters are repeated in several places
- terrible contract of make_record() and generate_signature()
- ambiguous parameters: path vs. image path vs. image content
- doesn't adhere to PEP-8
- depends on cairo just to render svg images almost no one uses this
library with
2017-02-03 21:20:52 +01:00
rr-
894cd29511
server/tests: test image hash
2017-02-03 19:53:10 +01:00
rr-
b21ffac820
server/scripts: make pytest happier
2017-02-03 19:22:33 +01:00
rr-
f828c375e6
server/posts: fix reverse search late evaluation
...
Uploading webms caused 'Not an image.' error to be shown, cause
generators are evaluated lazily, so the `catch` never worked.
2017-02-02 21:52:52 +01:00
rr-
accdb51c0b
server/migrations: add default tag category
2017-02-02 20:26:22 +01:00
rr-
f2fd769767
server/migrations: fix imports for alembic
...
`alembic revision -m 'blah blah'` rightfully complained about imports
(in case of `upgrade`, that module was being populated by some other
module.)
2017-02-02 20:06:20 +01:00
rr-
e92bd2fd80
server/tags: fix getting default category name
...
No categories? Should have thrown an error rather than returning None.
2017-02-02 20:04:09 +01:00