358 Commits

Author SHA1 Message Date
shamoon
fae2399e46
Fix: dont use limit in subqueries for mariadb compatibility (#6611) 2024-05-07 15:14:00 +00:00
shamoon
78af59ec17 Fix: correct admin permissions check for system status 2024-05-06 12:58:57 -07:00
shamoon
c6e7d06bb7
Feature: global search, keyboard shortcuts / hotkey support (#6449) 2024-05-02 16:15:56 +00:00
Trenton H
7be7185418
Handcrafts SQL queries a little more to reduce the query count and/or the amount of returned data (#6489) 2024-04-30 07:37:09 -07:00
shamoon
63e1f9f5d3
Feature: custom fields filtering & bulk editing (#6484) 2024-04-26 15:10:03 -07:00
shamoon
7a0334f353 Fix: cast custom fields values list to list for other DB types
Closes #6482
2024-04-24 01:35:45 -07:00
shamoon
05b1ff9738
Feature: document history (audit log UI) (#6388) 2024-04-23 15:16:28 +00:00
shamoon
f812f2af4d
Fix: remove admin.logentry perm, use admin (staff) status (#6380) 2024-04-14 00:35:34 +00:00
shamoon
1d85caa8d0
Fix: disable invalid create endpoints (#6320) 2024-04-07 18:50:40 +00:00
shamoon
129933ff30
Enhancement: support custom fields in post_document endpoint (#6222) 2024-03-30 13:00:53 -07:00
shamoon
4af8070450
Feature: PDF actions - merge, split & rotate (#6094) 2024-03-25 18:41:24 -07:00
shamoon
2c4a664df4
Change: remove credentials from redis url in system status (#6104) 2024-03-14 08:20:34 -07:00
shamoon
91434a5c6f
Enhancement: move and rename files when storage paths deleted, update file handling docs (#6033) 2024-03-07 20:39:55 +00:00
shamoon
7b7b257725
Fix: make document count lists for objects permissions-aware (#6019) 2024-03-07 15:15:46 +00:00
shamoon
55a40708a6
Change: tweaks to system status (#6008) 2024-03-05 15:50:04 +00:00
shamoon
f6084acfc8
Feature: system status (#5743) 2024-03-04 09:26:25 -08:00
shamoon
d2f9b5d5e5
Fix: respect global permissions for UI settings (#5919) 2024-02-26 20:19:31 +00:00
shamoon
db0a2eb1a3
Fix: bulk edit objects does not respect global permissions (#5888) 2024-02-25 16:59:59 -08:00
Trenton H
13201dbfff
Ensure all creations of directories create the parents too (#5711) 2024-02-10 11:02:40 -08:00
shamoon
b643a68fa3
Enhancement: bulk delete objects (#5688) 2024-02-08 10:13:15 -08:00
Trenton H
b60e16fe33
Chore: Backend dependencies update (#5676) 2024-02-08 09:48:24 -08:00
Trenton H
25542c56b9
Feature: Cache metadata and suggestions in Redis (#5638) 2024-02-04 10:42:21 -08:00
shamoon
454098630b
Enhancement: mergeable bulk edit permissions (#5508) 2024-02-01 19:56:57 +00:00
Trenton H
51dd95be3d
Fix: Getting next ASN when no documents have an ASN (#5431)
* Fixes the next ASN logic to account for no ASNs yet being assigned

* Updates so the ASN will start at 1

* Do the same calculation without the branch
2024-01-16 23:08:37 +00:00
Trenton H
e16645b146
Feature: Add additional caching support to suggestions and metadata (#5414)
* Adds ETag and Last-Modified headers to suggestions, metadata and previews

* Slight update to the suggestions etag

* Small user message for why classifier didn't train again
2024-01-16 17:01:07 +00:00
shamoon
2a6e79acc8
Feature: app branding (#5357) 2024-01-13 19:57:25 +00:00
shamoon
3115106dc1
Enhancement: add basic filters for listing custom fields (#5257) 2024-01-06 03:04:31 +00:00
Bevan Kay
bbf64b7e93
Enhancement: add storage_path parameter to post_document API (#5217)
* Feature: add `storage_path` parameter to post_document API

* Complete coverage for validate_storage_path

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-01-03 08:31:56 +00:00
shamoon
3b6ce16f1c
Feature: Workflows (#5121) 2024-01-03 08:19:19 +00:00
Adam Bogdał
9d5b07537d
Reduce number of db queries (#4990) 2023-12-15 11:36:25 -08:00
shamoon
ff31558252
Fix: Sort consumption templates by order by default (#4956) 2023-12-12 16:27:26 +00:00
shamoon
5a20c8e512
Fix version checker GitHub api url (#4773) 2023-12-02 15:56:56 +00:00
shamoon
fec8f90b78
FIx note deletion (#4602) 2023-11-15 20:25:17 -08:00
Trenton H
facb7226fe
Chore: Backend bulk updates (#4509) 2023-11-13 17:09:56 +00:00
shamoon
10729f0362 Feature: Implement custom fields for documents (#4502)
Adds custom fields of certain data types, attachable to documents and searchable

Co-Authored-By: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-11-05 17:27:23 -08:00
shamoon
10929e9ac8
Fix: API statistics document_file_type_counts return type (#4464) 2023-10-30 16:35:42 -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
99f260225a
Fix: update document modified time on note creation / deletion (#4374)
* Update document modified on add or delete notes

* Add document extra endpoints info to docs
2023-10-14 16:24:13 -07:00
shamoon
f7f5d0efa6
Fix: get highest ASN regardless of user (#4326) 2023-10-06 17:22:31 -07:00
shamoon
6973691cce
Enhancement: dashboard improvements, drag-n-drop reorder dashboard views (#4252)
* Updated dashboard

* Make entire screen dropzone on dashboard too

* Floating upload widget status alerts

* Visual tweaks: spacing, borders

* Better empty view widget

* Support drag + drop reorder of dashboard saved views

* Update messages.xlf

* Disable dashbaord dnd if global dnd active

* Remove ngx-file-drop dep, rebuild file-drop & upload files widget

* Revert custom file drop implementation

* Try patch-package fix

* Simplify dropzone transitions to make more reliable

* Update messages.xlf

* Update dashboard.spec.ts

* Fix coverage
2023-09-28 10:18:12 -07:00
Trenton H
8d60506884
Standarizes the imports across all the files and modules (#4248) 2023-09-23 20:17:01 -07:00
shamoon
9712ac109d
Feature: consumption templates (#4196)
* Initial implementation of consumption templates

* Frontend implementation of consumption templates

Testing

* Support consumption template source

* order templates, automatically add permissions

* Support title assignment in consumption templates

* Refactoring, filters to and, show sources on list

Show sources on template list, update some translation strings

Make filters and

minor testing

* Update strings

* Only update django-multiselectfield

* Basic docs, document some methods

* Improve testing coverage, template multi-assignment merges
2023-09-22 16:53:13 -07:00
shamoon
f5717cca1c
Enhancement: bulk edit object permissions (#4176)
* bulk_edit_object_perms API endpoint

* Frontend support for bulk object permissions edit
2023-09-19 13:40:21 -07:00
shamoon
7c9ab8c0b6
Feature: Share links (#3996)
* Implement share links

Basic implementation of share links

Make certain share link fields not editable, automatically grant permissions on migrate

Updated styling, error messages from expired / deleted links

frontend code linting, reversable sharelink migration

testing coverage

Update translation strings

No links message

* Consolidate file response methods

* improvements to share links on mobile devices

* Refactor share links file_version

* Add docs for share links

* Apply suggestions from code review

* When filtering share links, use the timezone aware now()

* Removes extra call to setup directories for usage in testing

* FIx copied badge display on some browsers

* Move copy to ngx-clipboard library

---------

Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-09-14 13:32:43 -07:00
shamoon
03d93a7d6e Fix: enforce permissions on bulk_edit operations 2023-08-17 00:12:46 -07:00
shamoon
2e67697d36 Note creation / deletion should respect doc permissions
- Disable add note button on frontend
- Explicitly disable add / delete via api
2023-08-01 22:28:27 -07:00
Trenton H
70f3f98363 Let ruff autofix some things from the newest version 2023-06-13 20:15:18 -07:00
shamoon
077abbe961 Return user first & last name from backend 2023-06-12 08:15:59 -07:00
shamoon
c6900c5d51 prevent date suggestion search if disabled 2023-05-27 10:51:30 -07:00
shamoon
350c20d6ab
Merge pull request #3359 from paperless-ngx/feature-fix-autocomplete-respect-perms
Fix: respect permissions for autocomplete suggestions
2023-05-12 13:35:45 -07:00