8416 Commits

Author SHA1 Message Date
shamoon
984b002430 Fix accidentally moved error display 2023-11-04 22:00:17 -07:00
shamoon
46faa2996d Add coverage for refresh fields on create 2023-11-04 21:40:17 -07:00
shamoon
eec57b4dfd Update frontend strings for custom fields 2023-11-04 20:12:48 -07:00
shamoon
6dd63eed22 Show link button for url component 2023-11-04 20:12:17 -07:00
shamoon
b7f3064a81 Better display for custom field errors 2023-11-04 16:34:55 -07:00
Trenton Holmes
8b37059af8 Moves where the validation happens 2023-11-04 12:53:00 -07:00
shamoon
aa0bc50e2d Add URL field validation 2023-11-04 10:52:20 -07:00
shamoon
728866672b Fix unrelated bug with changing detail tab before tag loaded 2023-11-04 10:02:12 -07:00
shamoon
bf9954152e Update custom fields docs with data types 2023-11-04 09:53:51 -07:00
shamoon
3b5ed5e48e Update paperless-custom-field.ts 2023-11-04 09:48:16 -07:00
shamoon
fd8ba7c41c Add float & monetary custom field types 2023-11-04 09:47:03 -07:00
shamoon
4152166693 Basic custom field searching 2023-11-03 23:44:57 -07:00
shamoon
ba7be2c57e Fix 404 on initial load sometimes 2023-11-03 15:48:22 -07:00
shamoon
b6a29edc7a Update custom fields docs 2023-11-03 15:38:43 -07:00
Trenton Holmes
0065b215a9 Register the new models with auditlog 2023-11-03 06:59:06 -07:00
shamoon
511ffbf2b7 Add custom_fields to docs 2023-11-03 02:30:00 -07:00
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