223 Commits

Author SHA1 Message Date
Trenton Holmes
6d53119de4 Removes one last portion of PNG vs WebP 2022-06-12 09:12:02 -07:00
Trenton Holmes
ee4e3cebe2 Removes last vestiges of PNG from the tests, code, docs and samples 2022-06-11 14:20:50 -07:00
Trenton Holmes
33950a7628 Minor tweak to determining content type 2022-06-10 08:57:36 -07:00
Michael Shamoon
f208f89179 webp thumbnail support with png fallback 2022-06-10 02:28:13 -07:00
Michael Shamoon
09f637a4cb Better tasks api endpoint 2022-05-26 21:09:05 -07:00
Michael Shamoon
635fee08ef acknowledge_tasks endpoint & basic UI
Update tasks.service.ts
2022-05-26 21:09:04 -07:00
Michael Shamoon
90cd6950b2 update post_save signal receiver 2022-05-26 21:09:04 -07:00
Michael Shamoon
60ddd4a529 PaperlessTask and consumption_tasks endpoint 2022-05-26 21:05:24 -07:00
Markus
dd3b5c129c Feature: Dynamic document storage pathes (#916)
* Added devcontainer

* Add feature storage pathes

* Exclude tests and add versioning

* Check escaping

* Check escaping

* Check quoting

* Echo

* Escape

* Escape :

* Double escape \

* Escaping

* Remove if

* Escape colon

* Missing \

* Esacpe :

* Escape all

* test

* Remove sed

* Fix exclude

* Remove SED command

* Add LD_LIBRARY_PATH

* Adjusted to v1.7

* Updated test-cases

* Remove devcontainer

* Removed internal build-file

* Run pre-commit

* Corrected flak8 error

* Adjusted to v1.7

* Updated test-cases

* Corrected flak8 error

* Adjusted to new plural translations

* Small adjustments due to code-review backend

* Adjusted line-break

* Removed PAPERLESS prefix from settings variables

* Corrected style change due to search+replace

* First documentation draft

* Revert changes to Pipfile

* Add sphinx-autobuild with keep-outdated

* Revert merge error that results in wrong storage path is evaluated

* Adjust styles of generated files ...

* Adds additional testing to cover dynamic storage path functionality

* Remove unnecessary condition

* Add hint to edit storage path dialog

* Correct spelling of pathes to paths

* Minor documentation tweaks

* Minor typo

* improving wrapping of filter editor buttons with new storage path button

* Update .gitignore

* Fix select border radius in non input-groups

* Better storage path edit hint

* Add note to edit storage path dialog re document_renamer

* Add note to bulk edit storage path re document_renamer

* Rename FILTER_STORAGE_DIRECTORY to PATH

* Fix broken filter rule parsing

* Show default storage if unspecified

* Remove note re storage path on bulk edit

* Add basic validation of filename variables

Co-authored-by: Markus Kling <markus@markus-kling.net>
Co-authored-by: Trenton Holmes <holmes.trenton@gmail.com>
Co-authored-by: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
Co-authored-by: Quinn Casey <quinn@quinncasey.com>
2022-05-19 14:42:25 -07:00
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
Trenton Holmes
78b721a817 Makes minor improvements to ui_settings API testing 2022-05-17 11:13:58 -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
fd59b14d88 skeleton frontend_settings api endpoint 2022-05-17 11:11:38 -07:00
Trenton Holmes
cd113ea5c9 Adds unit testing for remote version getting 2022-05-11 12:59:38 -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
Trenton Holmes
d41b3deec3 First changes for using semver everywhere 2022-05-01 13:21:10 -07:00
Felix E
7df81f6a15 Merge pull request #591 from paperless-ngx/feature-version-checker
Feature: Update checker
2022-04-05 20:11:21 +02:00
Michael Shamoon
106ab3fa7c Allow notify user if update checking not explicitly set 2022-04-02 10:10:49 -07:00
Michael Shamoon
6677b39e9d Use GH api URL
Update configuration.rst
2022-04-02 01:36:37 -07:00
Michael Shamoon
9485dfb8cc refactor to update_available 2022-04-02 01:36:19 -07:00
Michael Shamoon
5fb0469c0a json parse version string 2022-04-02 01:36:19 -07:00
Michael Shamoon
636c79b32f Fix version string regex 2022-04-02 01:33:51 -07:00
Michael Shamoon
703abae41a Add config variable for update check 2022-04-02 01:33:51 -07:00
Michael Shamoon
22f2939c29 remote_version API endpoint 2022-04-02 01:33:51 -07:00
Trenton Holmes
f389a29875 Fixes a couple of minor bugs in the downloading of documents and additional consumer ignore items 2022-04-01 11:12:18 -07:00
Trenton Holmes
5a4741dcab Bumps django to 4.0 and fixes associated issues 2022-03-24 07:39:11 -07:00
Trenton Holmes
6635fa5f0d Runs the pre-commit hooks over all the Python files 2022-03-11 11:34:28 -08:00
kpj
c56cb25b5f Format Python code with black 2022-02-27 15:26:41 +01:00
Marcin Gordziejewski
d4d71b1ee2 Provide utf-8 encoded content-disposition field to address the issues in the firefox when downloading files
Fixes #56
2022-02-16 19:50:13 +01:00
Jonas Winkler
dc565bd035 correct file mode 2021-05-16 01:22:51 +02:00
jonaswinkler
f9d9ac75ea pycodestyle 2021-04-04 00:04:00 +02:00
jonaswinkler
9f35f162ce fix page out of range with full text 2021-04-03 21:50:23 +02:00
jonaswinkler
5b49524d51 lots of changes for the new unified search 2021-03-17 22:25:22 +01:00
jonaswinkler
3a17a3ab87 Merge branch 'dev' into feature-unified-search 2021-03-16 20:48:05 +01:00
jonaswinkler
f5f09f0722 API refactoring 2021-03-16 20:47:45 +01:00
jonaswinkler
4698c6ade1 some initial attempts to merge search and document list 2021-03-07 13:16:23 +01:00
jonaswinkler
6e354359a9 Merge branch 'feature-autocolor' into dev 2021-02-25 23:46:27 +01:00
jonaswinkler
cf4757344e fix #600 2021-02-25 23:23:26 +01:00
jonaswinkler
dcff197e0a versioning for the tags API 2021-02-24 23:54:19 +01:00
jonaswinkler
3cfd97aa08 pycodestyle 2021-02-21 00:21:43 +01:00
jonaswinkler
02f93792c1 API support for downloading compressed archives of multiple documents 2021-02-20 16:09:29 +01:00
jonaswinkler
aced453d82 only show inbox statistics if inbox tags are defined 2021-02-15 23:14:54 +01:00
jonaswinkler
d1f206b4cd some search index optimizations 2021-02-15 13:26:36 +01:00
jonaswinkler
691713ed40 metadata tab not showing anything if files are missing #534 2021-02-13 16:41:03 +01:00
jonaswinkler
c7b46f43b8 todo note #520 2021-02-09 21:53:10 +01:00
jonaswinkler
7cdc867307 archive filenames are now stored in the database and checked for collisions just as original filenames as well, unified method for archive version checking 2021-02-09 19:46:19 +01:00
jonaswinkler
7195edf5e4 pycodestyle 2021-02-06 17:21:32 +01:00