kpj
fc695896dd
Format Python code with black
2022-02-27 15:26:41 +01:00
Michael Shamoon
f75d4ccc89
Merge branch 'dev' into feature/any-all-filtering
2022-02-14 22:23:31 -08:00
Jonas Winkler
61b47e358f
correct file mode
2021-05-16 01:22:51 +02:00
jonaswinkler
efa7b7b0b5
filter by title or title+content fixes #636
2021-02-28 16:19:41 +01:00
Michael Shamoon
893dcd9f28
Update API filters for "any" tag_id
2021-01-20 18:35:03 -08:00
jonaswinkler
111ed38cce
fixes #121
2021-01-04 00:38:29 +01:00
jonaswinkler
f7f78d80b7
added isnull filters for document types and correspondents
2020-12-25 19:01:46 +01:00
jonaswinkler
69c6d68219
a print() command somehow sneaked past my commit checks.
2020-12-10 00:59:03 +01:00
jonaswinkler
9e46afafd7
fixes #102
2020-12-07 15:25:06 +01:00
Jonas Winkler
965e874740
fixes #17
...
search for multiple tags
2020-11-04 00:01:08 +01:00
Jonas Winkler
2b0b3a70a7
logging: don't group by logging_group
2020-11-02 01:24:56 +01:00
Jonas Winkler
052c1680f3
added
...
- document index
- api access for thumbnails/downloads
- more api filters
updated
- pipfile
removed
- filename handling
- legacy thumb/download access
- obsolete admin gui settings (per page items, FY, inline view)
2020-10-25 23:03:02 +01:00
Jonas Winkler
f33dca2904
some api changes
2020-10-21 12:16:25 +02:00
Jonas Winkler
bcd9220021
minor changes
2018-12-11 12:26:44 +01:00
Jonas Winkler
766109ae4e
Merge remote-tracking branch 'upstream/master'
2018-12-11 12:06:15 +01:00
Daniel Quinn
0bb7d27269
pep8
2018-10-07 16:30:02 +01:00
Jonas Winkler
94ede7389d
Merge remote-tracking branch 'upstream/master'
2018-09-25 14:47:12 +02:00
Daniel Quinn
a511d34d69
Fix implementation of django-filter
2018-09-23 15:47:14 +01:00
Jonas Winkler
11adc94e5e
mode change
2018-09-06 12:00:01 +02:00
Jonas Winkler
13725ef8ee
Merge branch 'master' into dev
2018-09-06 00:28:58 +02:00
Jonas Winkler
131e1c9dd8
fixed the api
2018-09-05 15:25:14 +02:00
Daniel Quinn
f5e725c691
Switch out field_name= for name=
...
This appears to be a django-filter version change thing.
2018-09-02 21:26:30 +01:00
Daniel Quinn
729f005600
Remove old Python 2.x style code
2018-09-02 21:26:06 +01:00
Solo
4e5ee24618
Refs Travis - fix for 80 chars limit
2018-08-16 21:48:45 +08:00
Solo
96268655d2
Prepare Paperless for new front end
...
- enable CORS for localhost calls
- add Filter to allow API calls that can select Documents without any tag
2018-08-16 17:05:54 +08:00
Daniel Quinn
27db4f7e51
refactor: code cleanup
...
I hate single quotes.
2017-03-25 16:20:59 +00:00
Daniel Quinn
294b8abc3f
Fixes #164
...
There appears to be quite the mess out there with regard to how DRF
handles filtering. DRF has its own built-in stuff, but recommends
django_filter for the advanced stuff, which has its own overriding
module that explodes with this message when used as per the
documentation:
AttributeError: 'NoneType' object has no attribute 'DjangoFilterBackend'
Then there's djangorestframework-filter, another package that claims to
do the same thing, that does everything just differently enough that
nothing worked while I had it enabled.
I ended up using django_filter, but doing so importing each element
explicitly, rather than just using the recommended (and broken, at least
in this project) method of:
import django_filter.restframework as fitlers
Anyway, this should bring the dependencies up to date, and strips out a
lot of redundant code.
2017-01-01 16:36:42 +00:00
Daniel Quinn
8c5cb163a1
The API now supports filtering docs by tag & correspondent, as well as ordering
2016-03-12 20:45:13 +00:00
Daniel Quinn
1ef119eb82
Added basic filtering + search
2016-03-09 01:05:46 +00:00