7526 Commits

Author SHA1 Message Date
shamoon
c4ac35164b API should 400 on unique violations 2023-03-08 20:16:21 -08:00
shamoon
22a13981f3 Handle "private" tags, doctypes, correspondents 2023-03-08 19:07:47 -08:00
shamoon
29251b6e38 Add test coverage for owner-aware unique constraints 2023-03-08 19:07:32 -08:00
shamoon
b382f1412a Change model uniqueness from name to name+owner 2023-03-08 19:07:32 -08:00
shamoon
320537a054 Give superuser full doc permissions 2023-03-08 19:07:06 -08:00
shamoon
2fe7f8be46 TagViewSet should use PassUserMixin 2023-03-08 19:03:59 -08:00
Trenton H
f100198a8a Handle the possilbe case of splitting on an empty string returning a list with an empty string 2023-03-08 07:32:17 -08:00
Trenton Holmes
b470fc0140 Adds a utility for the settings to parse out a list, seperated by something, from an environment key 2023-03-08 07:32:17 -08:00
Trenton H
db02d5eff0 Ensure dates from emails are made timezone aware if not already 2023-03-07 10:01:40 -08:00
shamoon
9564a9c28d
Merge pull request #2830 from tooomm/patch-1
docs: better language code help
2023-03-06 16:56:08 -08:00
shamoon
55295922c8
Merge pull request #2838 from tooomm/patch-3
Chore: Properly collapse `All Changes` section in releases
2023-03-06 15:21:26 -08:00
tooomm
c5b701f99d add hints to ocr languages installation 2023-03-06 23:58:32 +01:00
tooomm
3c606efc46 fix collapse-after setting 2023-03-06 23:40:20 +01:00
shamoon
cbab1a51f1 Hide selects when user doesnt have view permissions
[ci skip]
2023-03-06 11:07:40 -08:00
Trenton H
41bcfcaffe Changes out the settings and a decent amount of test code to be pathlib compatible 2023-03-06 09:16:07 -08:00
shamoon
7cb14374cf Update permissions-dialog.component.html
[ci skip]
2023-03-06 08:51:47 -08:00
shamoon
19b9fd0578
Merge pull request #2819 from paperless-ngx/fix-2815
Fix: disable bulk edit dialog buttons during operation
2023-03-06 08:50:08 -08:00
shamoon
d668c475de
Merge pull request #2832 from tooomm/patch-2
Chore: Don't include changelog PR for different releases
2023-03-05 15:53:59 -08:00
tooomm
248f3f2181
don't append changelog PR to unrelated release 2023-03-05 16:36:24 +01:00
tooomm
bcd10f63ea
better language code help 2023-03-05 16:03:42 +01:00
Jonas Winkler
db9733f0d5
Merge pull request #2808 from paperless-ngx/bugfix-database-locked-on-permission-change
fix database locked error
2023-03-04 16:25:51 +01:00
shamoon
e6aa213aa1 disable bulk edit permissions dialog buttons on submit 2023-03-03 19:32:39 -08:00
shamoon
f0fa726e71
Merge pull request #2813 from paperless-ngx/fix-2811
Fix: Disable suggestions for read-only docs
2023-03-03 15:36:43 -08:00
shamoon
ae46ef7add Disable suggestions for read-only docs 2023-03-03 15:21:02 -08:00
Jonas Winkler
c87ca25f22 fix database locked error 2023-03-03 23:30:12 +01:00
Jonas Winkler
ef627d53e5
Merge pull request #2806 from paperless-ngx/update-django-po-messages
update django.po messages
2023-03-03 20:45:10 +01:00
Jonas Winkler
d0fcf3607d update django.po messages 2023-03-03 20:16:57 +01:00
shamoon
3dbb7e5781
Merge pull request #2804 from paperless-ngx/fix-processed-mail-migration
Update processed mail migration
2023-03-03 11:11:54 -08:00
shamoon
9597358cb0 Update processed mail migration 2023-03-03 10:40:29 -08:00
shamoon
c5a21a3b0e Fix edit dialog error surfacing 2023-03-03 10:21:08 -08:00
shamoon
f56ccec77f Surface edit dialog errors all the way 2023-03-03 08:55:52 -08:00
shamoon
489340a338
Update admin.py 2023-03-02 19:37:09 -08:00
Jonas Winkler
e9e3d75383
Merge pull request #2718 from paperless-ngx/feature/2396-better-mail-actions
Feature/2396 better mail actions
2023-03-02 23:14:04 +01:00
Trenton H
74a1e5ed86 Disables creation of videos during testing with Cypress 2023-03-02 08:03:41 -08:00
Trenton H
3d961a3dbb Enable package caching for frontend testing 2023-03-02 08:03:41 -08:00
dependabot[bot]
604d56d0b8 Bump leonsteinhaeuser/project-beta-automations from 2.0.1 to 2.1.0
Bumps [leonsteinhaeuser/project-beta-automations](https://github.com/leonsteinhaeuser/project-beta-automations) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/leonsteinhaeuser/project-beta-automations/releases)
- [Commits](https://github.com/leonsteinhaeuser/project-beta-automations/compare/v2.0.1...v2.1.0)

---
updated-dependencies:
- dependency-name: leonsteinhaeuser/project-beta-automations
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 14:57:16 -08:00
shamoon
a82e259c1d
Merge pull request #2793 from paperless-ngx/dependabot/npm_and_yarn/src-ui/dev/zone.js-0.12.0
Bump zone.js from 0.11.8 to 0.12.0 in /src-ui
2023-03-01 14:31:39 -08:00
dependabot[bot]
34ef99a8ab
Bump zone.js from 0.11.8 to 0.12.0 in /src-ui
Bumps [zone.js](https://github.com/angular/angular/tree/HEAD/packages/zone.js) from 0.11.8 to 0.12.0.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/packages/zone.js/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/zone.js-0.12.0/packages/zone.js)

---
updated-dependencies:
- dependency-name: zone.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 22:10:43 +00:00
shamoon
fa389d19d0
Merge pull request #2792 from paperless-ngx/dependabot/npm_and_yarn/src-ui/dev/typescript-eslint/parser-5.54.0
Bump @typescript-eslint/parser from 5.50.0 to 5.54.0 in /src-ui
2023-03-01 13:44:31 -08:00
shamoon
ebe70d996c
Merge pull request #2788 from paperless-ngx/dependabot/npm_and_yarn/src-ui/dev/angular/compiler-15.2.1
Bulk Bump angular packages to 15.2.1 in /src-ui
2023-03-01 13:41:22 -08:00
dependabot[bot]
e83e13fd57 Bulk bump angular to 15.2.1
Bump @angular/compiler from 15.1.2 to 15.2.1 in /src-ui

Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) from 15.1.2 to 15.2.1.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/15.2.1/packages/compiler)

---
updated-dependencies:
- dependency-name: "@angular/compiler"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 13:26:42 -08:00
dependabot[bot]
02362ae5e1
Bump @typescript-eslint/parser from 5.50.0 to 5.54.0 in /src-ui
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.50.0 to 5.54.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.54.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 21:00:01 +00:00
Jonas Winkler
e0f324f61c fix links in django admin 2023-03-01 18:17:55 +01:00
Trenton H
c422a081bf Be sure the scratch directory exists before using it as temporary directory 2023-03-01 07:13:31 -08:00
shamoon
72efb24b73 fix settings change detection on delete 2023-03-01 01:14:10 -08:00
shamoon
ee7653a8cd Make user_permissions not required 2023-03-01 00:33:01 -08:00
Jonas Winkler
020abaf7d6
Merge pull request #2777 from paperless-ngx/bugfix-owner-on-new-document
Don't submit owner via API on document upload
2023-03-01 01:08:54 +01:00
Jonas Winkler
6e2f6350e6 don't submit owner via API 2023-02-28 18:32:09 +01:00
Trenton Holmes
6b939f7567 Returns to using hashing against primary keys, at least for fields. Improves testing coverage 2023-02-28 08:13:10 -08:00
Trenton Holmes
c958a7c593 Changes from a hash based system to a time based system to prevent extra retrains 2023-02-28 08:13:10 -08:00