187 Commits

Author SHA1 Message Date
shamoon
5de81e8482 Feature: option for auto-remove inbox tags on save (#5562) 2024-02-02 02:41:10 +00:00
shamoon
027b661a4e Enhancement: mergeable bulk edit permissions (#5508) 2024-02-01 19:56:57 +00:00
shamoon
99422d09e5 Fix: doc link removal before assigning value (#5451) 2024-01-18 06:58:41 -08:00
shamoon
e96645141d Enhancement: warn when outdated doc detected (#5372)
* Update modified property for target docs w bidirectional links

* Warn on doc change detected
2024-01-13 20:28:10 +00:00
shamoon
6336b6fbfb Fix empty assign_title validation 2024-01-10 12:53:35 -08:00
shamoon
aabe4c48fc Enhancement: title assignment placeholder error handling, fallback (#5282) 2024-01-10 10:18:55 -08:00
luzpaz
97f4690236 Documentation: Fix typos with automated tool (#5319)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-01-08 16:58:41 +00:00
Bevan Kay
457165d66e 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
1141b767a0 Feature: Workflows (#5121) 2024-01-03 08:19:19 +00:00
shamoon
f3590e688d Fix symmetric doc links with target value None (#5187) 2023-12-31 07:56:26 -08:00
shamoon
8aaf093d2a Fix: setting empty doc link with docs to be removed (#5174) 2023-12-30 07:43:29 -08:00
shamoon
718eaf04d4 Enhancement: improve validation of custom field values (#5166)
* Support all URI schemes

* Reworks custom field value validation to check and return a 400 error code in more cases and support more URL looking items, not just some basic schemes

* Fixes a spelling error in the message

---------

Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-12-29 14:45:29 -08:00
shamoon
40a058e722 Fix URL validation of empty string 2023-12-29 01:26:24 -08:00
shamoon
a5272228af Fix saving doc links with no value (#5144) 2023-12-28 19:57:46 +00:00
shamoon
1302e1d48a Fix: Dont allow null custom_fields property via API (#5063) 2023-12-19 21:53:56 +00:00
shamoon
3e0c83750f Enhancement: symmetric document links (#4907) 2023-12-19 13:43:50 -08:00
shamoon
5e361b0e81 Enhancement: shared icon & shared by me filter (#4859) 2023-12-19 20:45:04 +00:00
shamoon
99d2c5568a Fix consumption template empty field checking 2023-12-05 09:08:43 -08:00
shamoon
22e58b8e14 Enhancement: implement document link custom field (#4799) 2023-12-05 08:16:56 -08:00
shamoon
084c31b37a Enhancement: support assigning custom fields via consumption templates (#4727) 2023-12-03 15:35:30 -08:00
shamoon
28dbe96dc3 Fix: empty strings for consumption template fields should be treated as None (#4762) 2023-12-03 12:57:43 -08:00
Trenton H
ab9e561317 Chore: Backend bulk updates (#4509) 2023-11-13 17:09:56 +00:00
shamoon
a792bf1ca1 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
Trenton H
dc642152d1 Standarizes the imports across all the files and modules (#4248) 2023-09-23 20:17:01 -07:00
shamoon
54783f706f 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
93ef011126 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
ef9d01fefe 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
1cc10fb316 Fix typo in #4179 2023-09-13 23:46:26 -07:00
shamoon
3fe4f3e280 Fix: support doc_pk storage path placeholder (#4179) 2023-09-13 07:43:43 -07:00
shamoon
78cb3ccc66 Pass saved_view owner as id only (#4158) 2023-09-10 16:37:35 -07:00
Trenton Holmes
34b80a4d8e Removes support for Python 3.8 and lower from the code base 2023-09-10 11:42:59 -07:00
Trenton H
ac8f5eaa7d Unlocks all things which were locked due to ARMv7, etc 2023-09-08 11:21:43 -07:00
shamoon
b7d99ab8f3 Fix owner removed when set_permissions passed 2023-06-27 01:41:20 -07:00
jayme-github
47c8cf2afa Make DocumentSerializer return the original_filename
Make get_original_file_name return the original filename instead of the
public filename.
2023-05-27 21:35:58 +02:00
shamoon
cf7c979bb1 Merge pull request #3329 from paperless-ngx/feature-full-dynamic-counts
Enhancement: dynamic counts include all pages, hide for "Any"
2023-05-10 11:15:47 -07:00
shamoon
4443ba9d5e Default frontend to current owner, allow setting no owner on create 2023-05-09 19:53:34 -07:00
shamoon
bd1f9acc62 Dynamic counts include all pages, hide for "Any" 2023-05-05 01:01:57 -07:00
shamoon
3c9a209031 Dont perform permissions queries by default 2023-04-27 07:06:49 -07:00
Trenton H
aabcc9a1c4 Upgrades black to v23, upgrades ruff 2023-04-26 09:35:27 -07:00
Trenton H
30655f1b73 Fixes ruff not running isort against the codebase 2023-04-26 09:35:27 -07:00
Trenton H
d2c02b9102 Configures ruff as the one stop linter and resolves warnings it raised 2023-04-01 17:03:52 -07:00
shamoon
8743012e03 Merge pull request #2818 from paperless-ngx/fix-2809
Fix: permissions display should not show users with inherited permissions & unable to change owner
2023-03-30 19:49:12 -07:00
shamoon
63be51b361 Owner/name unique constraint violation should exclude self 2023-03-23 07:35:18 -07:00
shamoon
875b7662f4 Fix inherited permissions should not display per user in permissions form 2023-03-19 23:41:36 -07:00
shamoon
5108bbc192 Rename comments --> notes 2023-03-18 13:59:17 -07:00
shamoon
78cb8cff69 Just include comments on document object 2023-03-17 18:47:03 -07:00
shamoon
992ac545b3 Show number of comments on cards, tab 2023-03-17 18:47:03 -07:00
Trenton Holmes
b78d87f44a Adds owner and original name to the possible naming schemes 2023-03-12 15:29:58 -07:00
shamoon
d8625c057b API should 400 on unique violations 2023-03-08 20:16:21 -08:00
shamoon
ad0cb8c8a3 Change model uniqueness from name to name+owner 2023-03-08 19:07:32 -08:00