8400 Commits

Author SHA1 Message Date
shamoon
59a08ff2a2 Update frontend for new custom_fields API spec 2023-11-03 02:19:25 -07:00
shamoon
99d1de543c Respect permissions for customfielddropdown 2023-11-03 00:26:32 -07:00
Trenton Holmes
fde4753cf7 Adds some quick and basic documentation on the feature 2023-11-02 19:46:23 -07:00
Trenton Holmes
a048f25f5b Small cleanup of testing, removes an unused class created during experimentation 2023-11-02 19:34:47 -07:00
shamoon
ba518f63d5 ReadWriteSerializerMethodField 2023-11-02 11:58:26 -07:00
Trenton H
e418e0db88 Reworks this to be a little cleaner, adding some testing 2023-11-02 11:57:18 -07:00
Trenton Holmes
63d6213272 Saving some more work on this, even though it will fail linting 2023-11-02 11:57:18 -07:00
shamoon
3787f4f8fe Rework doc details nav
scroll doc details nav on mobile

Update styles.scss
2023-11-01 23:33:17 -07:00
shamoon
383a5ed089 Update document-detail.component.ts 2023-11-01 22:22:15 -07:00
shamoon
e06a98da37 Update not found text, support create field from select 2023-11-01 19:14:11 -07:00
shamoon
4d6d95f0fb Get custom field data from initial_data 2023-11-01 19:14:11 -07:00
shamoon
079df6aeb0 Admin pages for custom fields & instances, make not editable in admin 2023-11-01 19:14:11 -07:00
shamoon
6a0e56662c Move nav 2023-11-01 19:14:11 -07:00
shamoon
6ed740756e Frontend support for boolean + url custom fields 2023-11-01 19:14:11 -07:00
shamoon
e399d4f8d3 Fix backend tests for custom_fields 2023-11-01 19:14:11 -07:00
shamoon
df973922c3 Frontend custom fields coverage 2023-11-01 19:14:11 -07:00
shamoon
69b7660026 Fix e2e test for custom_fields 2023-11-01 19:14:11 -07:00
shamoon
7879b9e91b Working removal of custom fields 2023-11-01 19:14:11 -07:00
shamoon
44728aa048 Working frontend custom field editing 2023-11-01 19:14:11 -07:00
shamoon
17abd90c46 Maybe hack-y but working custom field serialization 2023-11-01 19:14:11 -07:00
shamoon
9b953f3dd6 Test fixes 2023-11-01 19:14:11 -07:00
shamoon
877b9325c4 Custom Fields dropdown, skeleton of posting custom fields 2023-11-01 19:14:11 -07:00
shamoon
548ffd46b0 Custom fields admin area, comment out detached fields code 2023-11-01 19:14:11 -07:00
shamoon
6f62da077a Saving work, basic frontend getting & display 2023-11-01 19:14:11 -07:00
Trenton Holmes
d9526ea32f Save some not working stuff 2023-11-01 19:14:11 -07:00
Trenton Holmes
8605907f6f A little more work towards this 2023-11-01 19:14:11 -07:00
Trenton H
b03dc70be1 Updates the model relationships 2023-11-01 19:14:11 -07:00
Trenton H
021b1031dd First pass implementation of a basic custom metadata field per document 2023-11-01 19:14:11 -07:00
dependabot[bot]
0def30210c
Bump @types/node from 20.8.0 to 20.8.10 in /src-ui (#4482)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.8.0 to 20.8.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 21:17:11 +00:00
dependabot[bot]
e63a543c29
Bump the frontend-eslint-dependencies group in /src-ui with 3 updates (#4479)
Bumps the frontend-eslint-dependencies group in /src-ui with 3 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) and [eslint](https://github.com/eslint/eslint).


Updates `@typescript-eslint/eslint-plugin` from 6.7.3 to 6.9.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.9.1/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 6.7.3 to 6.9.1
- [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/v6.9.1/packages/parser)

Updates `eslint` from 8.50.0 to 8.52.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.50.0...v8.52.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 21:05:26 +00:00
shamoon
0f08796e1b
Allow more dependabot updates at once 2023-11-01 13:53:02 -07:00
dependabot[bot]
d10c32bad6
Bump @playwright/test from 1.38.1 to 1.39.0 in /src-ui (#4480)
Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.38.1 to 1.39.0.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.38.1...v1.39.0)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 20:36:41 +00:00
dependabot[bot]
813ad6551c
Bump concurrently from 8.2.1 to 8.2.2 in /src-ui (#4481)
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 8.2.1 to 8.2.2.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v8.2.1...v8.2.2)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 20:24:14 +00:00
dependabot[bot]
5582b33d40
Bump the frontend-jest-dependencies group in /src-ui with 1 update (#4478)
Bumps the frontend-jest-dependencies group in /src-ui with 1 update: [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest).

- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: frontend-jest-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 20:10:31 +00:00
dependabot[bot]
79afc236c9
Bump the frontend-angular-dependencies group in /src-ui with 14 updates (#4477)
Bumps the frontend-angular-dependencies group in /src-ui with 14 updates:

| Package | From | To |
| --- | --- | --- |
| [@angular/cdk](https://github.com/angular/components) | `16.2.7` | `16.2.11` |
| [@angular/common](https://github.com/angular/angular/tree/HEAD/packages/common) | `16.2.7` | `16.2.11` |
| [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) | `16.2.7` | `16.2.11` |
| [@angular/core](https://github.com/angular/angular/tree/HEAD/packages/core) | `16.2.7` | `16.2.11` |
| [@angular/forms](https://github.com/angular/angular/tree/HEAD/packages/forms) | `16.2.7` | `16.2.11` |
| [@angular/localize](https://github.com/angular/angular) | `16.2.7` | `16.2.11` |
| [@angular/platform-browser](https://github.com/angular/angular/tree/HEAD/packages/platform-browser) | `16.2.7` | `16.2.11` |
| [@angular/platform-browser-dynamic](https://github.com/angular/angular/tree/HEAD/packages/platform-browser-dynamic) | `16.2.7` | `16.2.11` |
| [@angular/router](https://github.com/angular/angular/tree/HEAD/packages/router) | `16.2.7` | `16.2.11` |
| [@ng-bootstrap/ng-bootstrap](https://github.com/ng-bootstrap/ng-bootstrap) | `15.1.1` | `15.1.2` |
| [@ng-select/ng-select](https://github.com/ng-select/ng-select) | `11.1.1` | `11.2.0` |
| [ngx-ui-tour-ng-bootstrap](https://github.com/hakimio/ngx-ui-tour) | `13.0.4` | `13.0.6` |
| [@angular-devkit/build-angular](https://github.com/angular/angular-cli) | `16.2.4` | `16.2.9` |
| [@angular/cli](https://github.com/angular/angular-cli) | `16.2.4` | `16.2.9` |


Updates `@angular/cdk` from 16.2.7 to 16.2.11
- [Release notes](https://github.com/angular/components/releases)
- [Changelog](https://github.com/angular/components/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/components/compare/16.2.7...16.2.11)

Updates `@angular/common` from 16.2.7 to 16.2.11
- [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/16.2.11/packages/common)

Updates `@angular/compiler` from 16.2.7 to 16.2.11
- [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/16.2.11/packages/compiler)

Updates `@angular/core` from 16.2.7 to 16.2.11
- [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/16.2.11/packages/core)

Updates `@angular/forms` from 16.2.7 to 16.2.11
- [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/16.2.11/packages/forms)

Updates `@angular/localize` from 16.2.7 to 16.2.11
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/compare/16.2.7...16.2.11)

Updates `@angular/platform-browser` from 16.2.7 to 16.2.11
- [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/16.2.11/packages/platform-browser)

Updates `@angular/platform-browser-dynamic` from 16.2.7 to 16.2.11
- [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/16.2.11/packages/platform-browser-dynamic)

Updates `@angular/router` from 16.2.7 to 16.2.11
- [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/16.2.11/packages/router)

Updates `@ng-bootstrap/ng-bootstrap` from 15.1.1 to 15.1.2
- [Release notes](https://github.com/ng-bootstrap/ng-bootstrap/releases)
- [Changelog](https://github.com/ng-bootstrap/ng-bootstrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ng-bootstrap/ng-bootstrap/compare/15.1.1...15.1.2)

Updates `@ng-select/ng-select` from 11.1.1 to 11.2.0
- [Release notes](https://github.com/ng-select/ng-select/releases)
- [Changelog](https://github.com/ng-select/ng-select/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ng-select/ng-select/compare/v11.1.1...v11.2.0)

Updates `ngx-ui-tour-ng-bootstrap` from 13.0.4 to 13.0.6
- [Release notes](https://github.com/hakimio/ngx-ui-tour/releases)
- [Commits](https://github.com/hakimio/ngx-ui-tour/commits)

Updates `@angular-devkit/build-angular` from 16.2.4 to 16.2.9
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Changelog](https://github.com/angular/angular-cli/blob/16.2.9/CHANGELOG.md)
- [Commits](https://github.com/angular/angular-cli/compare/16.2.4...16.2.9)

Updates `@angular/cli` from 16.2.4 to 16.2.9
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Changelog](https://github.com/angular/angular-cli/blob/16.2.9/CHANGELOG.md)
- [Commits](https://github.com/angular/angular-cli/compare/16.2.4...16.2.9)

---
updated-dependencies:
- dependency-name: "@angular/cdk"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-angular-dependencies
- dependency-name: "@angular/common"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-angular-dependencies
- dependency-name: "@angular/compiler"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-angular-dependencies
- dependency-name: "@angular/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-angular-dependencies
- dependency-name: "@angular/forms"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-angular-dependencies
- dependency-name: "@angular/localize"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-angular-dependencies
- dependency-name: "@angular/platform-browser"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-angular-dependencies
- dependency-name: "@angular/platform-browser-dynamic"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-angular-dependencies
- dependency-name: "@angular/router"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-angular-dependencies
- dependency-name: "@ng-bootstrap/ng-bootstrap"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-angular-dependencies
- dependency-name: "@ng-select/ng-select"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: frontend-angular-dependencies
- dependency-name: ngx-ui-tour-ng-bootstrap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-angular-dependencies
- dependency-name: "@angular-devkit/build-angular"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: frontend-angular-dependencies
- dependency-name: "@angular/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: frontend-angular-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 12:56:38 -07:00
dependabot[bot]
1f83a75d5f
Bump the actions group with 1 update (#4476)
Bumps the actions group with 1 update: [actions/setup-node](https://github.com/actions/setup-node).

- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 11:22:39 -07:00
shamoon
2a3baf5aec
Adds Bulgarian translation (#4470) 2023-11-01 06:49:52 -07:00
Paperless-ngx Bot [bot]
f92ae3b232
New Crowdin updates (#4113) 2023-10-31 15:45:28 -07:00
shamoon
03523244ef Update share-links-dropdown.component.ts 2023-10-31 15:44:53 -07:00
shamoon
55e799b833
Fix: visually hidden text breaks delete button wrap (#4462) 2023-10-30 19:57:11 -07:00
shamoon
10929e9ac8
Fix: API statistics document_file_type_counts return type (#4464) 2023-10-30 16:35:42 -07:00
shamoon
89757609c2
Fix: Always return a list for audit log check (#4463) 2023-10-30 22:47:59 +00:00
shamoon
0f1dea67b7
Chore: upgrade python-ipware dependency (#4446) 2023-10-30 10:16:49 -07:00
nanokatz
38e035b95c
Feature: Audit Trail (#4425)
Adds new feature for optionally enabling change tracking for possible audit purposes
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
Co-authored-by: Trenton Holmes <797416+stumpylog@users.noreply.github.com>
2023-10-30 09:23:22 -07:00
shamoon
f695d4b9da Fix: correct some form typography and styling 2023-10-27 11:41:55 -07:00
Trenton H
4fbe7f16f3
Stops duplicated action runs against internal PRs (#4430) 2023-10-26 01:05:52 +00:00
Trenton H
dcc2cc5001
Only get or create a Correspondent if the email or attachment matches rule filters (#4431) 2023-10-26 00:34:52 +00:00
Trenton H
cb271deb8f
Fixes the returning of a set, change to a list instead (#4442) 2023-10-25 16:18:13 -07:00
Trenton H
d480e91196
Feature: Add ahead of time compression of the static files for x86_64 (#4390)
Compressed staticfiles. x86_64 only at this point
2023-10-20 16:22:05 -07:00
shamoon
9880f9ebc7
Feature: support sorting sidebar saved views (#4381) 2023-10-20 02:41:01 +00:00