1169 Commits

Author SHA1 Message Date
shamoon
0c8889a1fc Merge pull request #919 from paperless-ngx/feature-settings-saved-to-db
Feature: frontend settings saved to database
2022-05-18 11:33:17 -07:00
Philipp
87866bcab0 Add "Created" as additional (optional) parameter for post_documents (#965)
* Added "created" as optional parameter for post_documents.

* Fixed Conflict

* After Black Reformatting

* Run "add-trailing-comma"

* The right order between black and trailing comma is important....

* Added required=False

* Adds unit test for optional created in document api POST

* Fixes adding of settings override

* And a mis-added print, sigh

Co-authored-by: Philipp <philipp@invalid.invalid>
Co-authored-by: Trenton Holmes <holmes.trenton@gmail.com>
2022-05-18 02:56:32 -07:00
Michael Shamoon
51b552168a pull frontend lang setting from db if set 2022-05-18 02:41:15 -07:00
Michael Shamoon
099fc21764 Add ui_settings to exporter 2022-05-17 11:13:58 -07:00
Trenton Holmes
cb65c5e6d5 Removes accidental printing left in testing 2022-05-17 11:13:58 -07:00
Trenton Holmes
78b721a817 Makes minor improvements to ui_settings API testing 2022-05-17 11:13:58 -07:00
Michael Shamoon
b7b44bfb4e Code suggestions
Co-Authored-By: Trenton Holmes <797416+stumpylog@users.noreply.github.com>
2022-05-17 11:13:58 -07:00
Michael Shamoon
8cda57588d basic python tests 2022-05-17 11:13:19 -07:00
Michael Shamoon
e8ead471a9 Remove post_save receiver 2022-05-17 11:13:19 -07:00
Michael Shamoon
c12e55f54c Properly get username & display name 2022-05-17 11:13:19 -07:00
Michael Shamoon
67b3473365 Refactor to UiSettings 2022-05-17 11:11:39 -07:00
Michael Shamoon
798c827b0f fix key constraint error 2022-05-17 11:11:38 -07:00
Michael Shamoon
7fbd2076c3 Basic frontend settings retrieval 2022-05-17 11:11:38 -07:00
Michael Shamoon
fd59b14d88 skeleton frontend_settings api endpoint 2022-05-17 11:11:38 -07:00
Michael Shamoon
e0efcdaa01 frontend settings db migration 2022-05-17 11:11:38 -07:00
Trenton Holmes
7f6edda761 Merge pull request #953 from paperless-ngx/bugfix-intoify-debounce
Bugfix: Adds configurable intoify debounce time
2022-05-17 09:25:29 -07:00
shamoon
f7c08bbdd1 Merge pull request #942 from paperless-ngx/bugfix-date-format
Bugfix: Fixes document filename date off by 1 issue
2022-05-16 21:47:56 -07:00
Florian Brandes
78cb3430e0 fixes #949: change to MIME detection for files
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-05-16 17:29:29 +02:00
Trenton Holmes
836373bc3b Adds configuration variable to the inotify debounce timing 2022-05-15 11:48:12 -07:00
Trenton Holmes
58f3cb9209 Moves the asserts to be closer together 2022-05-14 08:20:55 -07:00
Trenton Holmes
5ed4597a4f Fixes Document public filename so it will use the local date instead of UTC date 2022-05-13 09:10:36 -07:00
Trenton Holmes
cd113ea5c9 Adds unit testing for remote version getting 2022-05-11 12:59:38 -07:00
shamoon
f51ef87b54 Merge pull request #883 from paperless-ngx/feature-version-export-import
Fix: Include version in export for better error messages
2022-05-10 19:49:46 -07:00
Quinn Casey
f96f107112 Use currently... importing... instead of "vs" 2022-05-10 17:41:09 -07:00
Quinn Casey
2fd3e155f8 Merge pull request #905 from paperless-ngx/qol-changes
Chore: Minor improvements for quality of life
2022-05-10 17:01:01 -07:00
shamoon
6cfeb093da Merge pull request #903 from paperless-ngx/bugfix-superuser-command
Bugfix: Superuser Management Won't Reset Password
2022-05-10 16:46:14 -07:00
shamoon
3ccf143c0b Merge pull request #721 from paperless-ngx/bug-fix-date-ignore
Fix Ignore Date Parsing
2022-05-10 16:45:58 -07:00
Trenton Holmes
74815a489f Minor improvements for quality of life 2022-05-09 12:05:29 -07:00
Trenton Holmes
92801dd379 Removes unused imports from test case 2022-05-09 09:49:11 -07:00
Trenton Holmes
a1eb14f8a9 Updates the superuser management command to better handle existing super users 2022-05-09 09:38:17 -07:00
Trenton Holmes
2761a9e7cf Fixes missing f on an f-string 2022-05-08 16:57:35 -07:00
Trenton Holmes
304d5b0d5a Updates the ignore date parsing to utilize the settings defined date order, instead of guessing a bit 2022-05-08 16:57:35 -07:00
Trenton Holmes
a944ef1ca6 Adds additional testing for both date parsing and consumed document created date 2022-05-08 16:57:35 -07:00
Trenton Holmes
f62193099c Runs pyupgrade to Python 3.8+ and adds a hook for it 2022-05-06 09:04:08 -07:00
Quinn Casey
6d9a4d76f2 Merge pull request #853 from lippoliv/bugfix-document_exporter-document-dates-are-off-by-one-day-#267
Bugfix document exporter document dates are off by one day #267
2022-05-05 09:59:11 -07:00
Trenton Holmes
070b648e84 Improves the output to the user 2022-05-05 09:17:51 -07:00
Trenton Holmes
0129675c1a Uses the correct styling for output messages 2022-05-05 07:30:02 -07:00
Trenton Holmes
0c670e25c3 Includes a version.json file with the current version in export. On import, catch certain errors and check the version if possible 2022-05-05 07:30:02 -07:00
Trenton Holmes
e805ca78cb Accounts for Python 3.8 backported zoneinfo 2022-05-04 15:13:17 -07:00
Oliver Lippert
5dd344a003 use zoneinfo instead of pytz
Signed-off-by: Oliver Lippert <info@trusty.codes>

#267
2022-05-03 08:08:28 +02:00
Trenton Holmes
d41b3deec3 First changes for using semver everywhere 2022-05-01 13:21:10 -07:00
Oliver Lippert
88e1a7653f always use datetime.date.isoformat to generate filename
fixes #267

Signed-off-by: Oliver Lippert <info@trusty.codes>
2022-05-01 08:54:41 +02:00
Oliver Lippert
67c85effaa add test for filename expectation with modified timezone
Signed-off-by: Oliver Lippert <info@trusty.codes>

#267
2022-05-01 08:41:38 +02:00
Florian Brandes
fd7385c802 code review changes
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-20 00:55:45 +02:00
Florian Brandes
fcf00ec304 more improvements to tiff support
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-19 13:08:40 +02:00
Florian Brandes
1f678c2210 add tests
fix indention
add more documentation

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-17 16:10:53 +02:00
Florian Brandes
40d1412e5e add TIFF barcode support
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-16 21:59:03 +02:00
shamoon
78d012dce9 Merge pull request #483 from stumpylog/check-if-file-busy
Adds wait for file before consuming
2022-04-11 11:56:05 -07:00
Florian
a90d3bda14 Merge pull request #532 from paperless-ngx/feature-barcode-splitter
Feature barcode splitter
2022-04-11 08:51:48 +02:00
Trenton Holmes
dcc2e018ff Adds additional checking for both inotify and polling around document still being busy before consuming it 2022-04-10 12:21:34 -07:00