4747 Commits

Author SHA1 Message Date
Trenton Holmes
b330f3d170 Maybe make CodeQL happy about this exception handling 2022-03-11 12:39:40 -08:00
Trenton Holmes
ffc1db24ce Fixes what looks like a conflict between black and flake8 2022-03-11 11:34:32 -08:00
Trenton Holmes
6635fa5f0d Runs the pre-commit hooks over all the Python files 2022-03-11 11:34:28 -08:00
Quinn Casey
22d0099142 Merge pull request #182 from stumpylog/pre-commit-hooks
Adds pre-commit hooks for linting and formatting
2022-03-11 10:50:04 -08:00
Paperless Translation Bot
93d1a92460 New Crowdin updates (#265)
* New translations django.po (Portuguese)
[ci skip]

* New translations messages.xlf (Portuguese)
[ci skip]

* New translations django.po (German)
[ci skip]

* New translations messages.xlf (Portuguese)
[ci skip]
2022-03-11 10:49:59 -08:00
Trenton Holmes
d9cf881661 Configures prettier formatting further 2022-03-11 10:32:25 -08:00
shamoon
5d9482bcfa Merge pull request #253 from paperless-ngx/feature-better-date-keyboard-input
Improve date keyboard input
2022-03-11 10:27:56 -08:00
Trenton Holmes
aa066966d7 Updates the documentation to include installation of the pre-commit hooks 2022-03-11 09:26:41 -08:00
Michael Shamoon
6efc312929 Fix enter key was prevented 2022-03-11 08:11:35 -08:00
shamoon
20a76e56f6 Merge pull request #263 from paperless-ngx/fix-dropdown-count
Fix: Include excluded items in dropdown count
2022-03-11 08:08:54 -08:00
Trenton Holmes
6fdd96d8d9 Ensures Pipfile and requirements are up to date 2022-03-11 07:07:28 -08:00
Trenton Holmes
8f96e1b4de Removes flake8 ignored warnings and errors, as black formatting will take care of almost all of these 2022-03-11 07:07:28 -08:00
Trenton Holmes
6771243697 Updates the beautysh hook to use tabs, as this reduces the diff of the output. Updates .editorconfig to use spaces in Markdown files to match prettier formatting 2022-03-11 07:07:27 -08:00
Trenton Holmes
265085ec4f Removes migrations exclusion from black formatting 2022-03-11 07:07:27 -08:00
Trenton Holmes
e1b60116cd Adds commenting and a little organization to the hook configuration 2022-03-11 07:07:26 -08:00
Trenton Holmes
68c04b91b9 Removes tslint which doesn't work. Adds exclusions of the migrations folder to Python related hooks 2022-03-11 07:07:26 -08:00
Trenton Holmes
bbfc73610d Adds and configures pre-commit hooks for linting and formatting during development 2022-03-11 07:07:25 -08:00
Quinn Casey
66f781699d Merge pull request #242 from stumpylog/resolve-test-warnings
Reduce warnings in test suite
2022-03-11 05:54:19 -08:00
shamoon
426b797bc6 Merge pull request #262 from kpj/fix-install_url
Fix install url in docs
2022-03-11 01:27:18 -08:00
Michael Shamoon
d06c585f90 Include excluded items in dropdown count 2022-03-11 01:17:19 -08:00
Michael Shamoon
6c1701fa14 semicolons 2022-03-11 01:03:43 -08:00
Michael Shamoon
31ad071cbb more code cleanup 2022-03-11 00:52:32 -08:00
Michael Shamoon
8250cdf714 code cleanup 2022-03-11 00:48:06 -08:00
Kim
f1a14fd317 Also update other occurrences of master branch to main 2022-03-11 09:45:44 +01:00
Kim
26afa40090 Use main instead of master branch in install URL 2022-03-11 09:39:01 +01:00
Michael Shamoon
92c5e2b8dc Fix dropdown inputs 2022-03-11 00:29:59 -08:00
Michael Shamoon
b6a75b6206 Move padding into date formatter 2022-03-11 00:28:06 -08:00
Michael Shamoon
cf18cc940e Limit date input field chars and length 2022-03-11 00:11:59 -08:00
shamoon
37030f89ee Merge pull request #243 from paperless-ngx/css-variables
Custom color theming
2022-03-10 19:26:15 -08:00
Trenton Holmes
55486ac151 Reduces number of warnings from testing from 165 to 128. In doing so, fixes a few minor things in the decrypt and export commands 2022-03-10 18:12:48 -08:00
Michael Shamoon
89c2a0a037 Allow date dropdowns to use new formatter 2022-03-10 16:48:03 -08:00
Michael Shamoon
f64cfe349e Merge branch 'main' into dev 2022-03-10 16:40:38 -08:00
Michael Shamoon
51e1336af3 fix comment 2022-03-10 15:27:02 -08:00
Michael Shamoon
548f6a41ae Allow formatting non-padded dates 2022-03-10 15:17:32 -08:00
Michael Shamoon
5872584aa6 Code formatting 2022-03-10 15:17:32 -08:00
Michael Shamoon
e2abd36ec7 strip all delimiters 2022-03-10 15:17:31 -08:00
Michael Shamoon
0708da5b67 semicolon 2022-03-10 15:17:31 -08:00
shamoon
74ca991277 Merge pull request #250 from GruberViktor/date_parser
Parse dates when entered without separators
2022-03-10 15:16:50 -08:00
Quinn Casey
86c3206234 Fix failed docker run on multi-tags 2022-03-10 14:58:28 -08:00
Quinn Casey
63e9ef0189 Merge pull request #251 from paperless-ngx/dependabot-label-fix
Make dependabot labels consistent
2022-03-10 14:06:28 -08:00
Quinn Casey
670f52edb6 Make dependabot labels consistent 2022-03-10 14:01:58 -08:00
Michael Shamoon
d1e1fa36a6 Fix outline buttons become invisible in light mode 2022-03-10 13:59:31 -08:00
Michael Shamoon
9aa652661f Fix changing theme incorrectly affects dark mode settings 2022-03-10 13:56:22 -08:00
Viktor
efbe34b114 Parse dates when entered without separators
This adds date dividers if none are entered.
It also adds the current year if it wasn't entered.

This allows users to just enter 1003, 100322, 10032022 and
have it expanded to 10.03.2022, in the case of the German format.
(All other formats are also supported)

It also replaces commas with the date divider.
This allows quick entry of the date on the numpad.
2022-03-10 21:31:54 +01:00
shamoon
7471fe4e07 1.6.0
[skip ci]
2022-03-10 12:03:00 -08:00
shamoon
84224f02e7 Merge pull request #213 from paperless-ngx/beta
Merge 1.6.0 Release Candidate
2022-03-10 12:01:31 -08:00
Ingo Sigmund
b179b13175 Merge pull request #214 from isigmund/dev 2022-03-10 15:09:33 +01:00
Ingo Sigmund
9d54f2bf82 Merge pull request #23 from flofeld/patch-1 2022-03-10 15:06:12 +01:00
Paperless Translation Bot
fe90ac437f New Crowdin updates (#244)
* New translations django.po (Italian)
[ci skip]

* New translations messages.xlf (Italian)
[ci skip]

* New translations messages.xlf (Slovenian)
[ci skip]

* New translations messages.xlf (Italian)
[ci skip]

* New translations messages.xlf (Slovenian)
[ci skip]

* New translations messages.xlf (Slovenian)
[ci skip]

* New translations django.po (Chinese Simplified)
[ci skip]

* New translations messages.xlf (Chinese Simplified)
[ci skip]

* New translations messages.xlf (Slovenian)
[ci skip]

* New translations messages.xlf (Slovenian)
[ci skip]

* New translations messages.xlf (Chinese Simplified)
[ci skip]

* New translations messages.xlf (Chinese Simplified)
[ci skip]

* New translations messages.xlf (Slovenian)
[ci skip]

* New translations messages.xlf (Chinese Simplified)
[ci skip]

* New translations messages.xlf (Chinese Simplified)
[ci skip]

* New translations django.po (Chinese Simplified)
[ci skip]

* New translations messages.xlf (Chinese Simplified)
[ci skip]
2022-03-09 16:21:06 -08:00
Florian Feldmann
022ff4378c Apply suggestions from code review
Co-authored-by: Ingo Sigmund <Ingo.sigmund@web.de>
2022-03-10 01:11:23 +01:00