1659 Commits

Author SHA1 Message Date
shamoon
b34104ef90 Fix: get highest ASN regardless of user (#4326) 2023-10-06 17:22:31 -07:00
shamoon
182b4e6c72 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
shamoon
63cf23eac2 Fix: remove note max height (#4287) 2023-09-28 09:20:07 -07:00
shamoon
f217f034d0 Update translation string for tasks dialog (#4263) 2023-09-25 10:53:36 -07:00
shamoon
b5d29e821e Enhancement: settings reorganization & improvements, separate admin section (#4251)
* Separate admin / manage sections

* Move mail settings to its own component

* Move users and groups to its own component

* Move default permissions to its own settings tab

* Unify list styling, add tour step, refactor components

* Only patch saved views that have changed on settings save

* Update messages.xlf

* Remove unused methods in settings.component.ts

* Drop admin section to bottom of sidebar, cleanup outdated, add docs link to dropdown

* Better visually unify management list & other list pages
2023-09-24 19:24:28 -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
026a77184a Fix mixed rule / owner check, component input / output 2023-09-22 01:20:25 -07:00
shamoon
a9ab344678 Support edit permissions for mail rules and accounts 2023-09-22 01:01:35 -07:00
shamoon
56c15f6642 Fix settings users initialization before groups 2023-09-21 23:35:40 -07:00
shamoon
a7e632de16 Support default permissions for object creation via frontend (#4233) 2023-09-21 16:28:22 -07:00
shamoon
e7320e66b5 Update GitHub strings
See #4024
2023-09-19 20:34:27 -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
Marwan Khalil
244a5d342b Fix: completely hide upload widget if user does not have permissions (#4198) 2023-09-17 14:53:20 +00:00
shamoon
6408c701d5 Fix application of theme color vars at root (#4193) 2023-09-16 01:08:03 -07:00
shamoon
6cbf30991d Migrate frontend prefix to -pngx 2023-09-14 14:51:02 -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
Dominik Mielcarek
feeda49e2b Chore: change dark mode to use Bootstrap's color modes (#4174)
* Change setting dark mode to use Bootstrap's data-bs-theme attribute

* Update dark mode styling to use Bootstrap's color mode attribute

* Update unit tests and lints

* Fix not reflecting custom theme color

* Remove commented-out code

* fix inverted thumbnails in dark mode & card borders

* prettier

* Fix application of dark mode, tests

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-09-13 18:11:44 +00:00
shamoon
78cb3ccc66 Pass saved_view owner as id only (#4158) 2023-09-10 16:37:35 -07:00
shamoon
5301021da9 Fix dashboard widget card borders hidden by bkgd color (#4155) 2023-09-10 16:20:02 +00:00
shamoon
c80c3b3374 Frontend better handle slow backend requests 2023-09-08 19:49:54 -07:00
shamoon
426d5a8d36 Fix add user / group buttons partially hidden if insufficient permissions (#4133) 2023-09-08 15:14:01 -07:00
shamoon
cca465aa00 Improved error notifications 2023-09-08 11:49:56 -07:00
shamoon
210f6b4044 Add Afrikaans, Greek & Norwegian languages 2023-09-08 10:01:01 -07:00
dependabot[bot]
68c76e0bc2 Bump the frontend-jest-dependencies group in /src-ui with 4 updates (#4112)
* Bump the frontend-jest-dependencies group in /src-ui with 4 updates

Bumps the frontend-jest-dependencies group in /src-ui with 4 updates: [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest), [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest), [jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom) and [jest-websocket-mock](https://github.com/romgain/jest-websocket-mock).


Updates `jest` from 29.6.2 to 29.6.4
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.6.4/packages/jest)

Updates `@types/jest` from 29.5.3 to 29.5.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Updates `jest-environment-jsdom` from 29.6.2 to 29.6.4
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.6.4/packages/jest-environment-jsdom)

Updates `jest-websocket-mock` from 2.4.0 to 2.4.1
- [Release notes](https://github.com/romgain/jest-websocket-mock/releases)
- [Commits](https://github.com/romgain/jest-websocket-mock/compare/v2.4.0...v2.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Update toasts.component.spec.ts

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-09-02 07:08:40 +00:00
shamoon
1234fc8014 Fix long document names cause overflow on tasks view 2023-08-28 21:32:10 -07:00
shamoon
a38b4f4255 Update settings.component.spec.ts 2023-08-24 00:21:06 -07:00
shamoon
32114c64c0 Merge branch 'dev' into ui-perms-tweaks 2023-08-23 08:48:42 -07:00
shamoon
4c5da051ed Fix: tag creation sometimes retained search text 2023-08-20 16:18:34 -07:00
shamoon
7f8a241cbd Disable / hide some UI buttons / elements if insufficient permissions 2023-08-17 20:34:19 -07:00
shamoon
2124c8aefe Implement isNumber pipe 2023-08-12 08:31:42 -07:00
shamoon
720fea45f6 Correct spelling of Ukrainian 2023-08-11 07:25:31 -07:00
shamoon
cf6ed792d7 Add backend check for ws message ownership 2023-08-09 16:46:48 -07:00
shamoon
11b9347763 Improve 404 navigation and styling 2023-08-09 00:30:20 -07:00
shamoon
4fdc82d126 Merge branch 'dev' into fix/issue-3945 2023-08-08 22:37:13 -07:00
shamoon
570d7d38fb Restrict status messages by owner if set 2023-08-08 20:39:55 -07:00
shamoon
f677744014 Handle very old date strings in correspondent list 2023-08-07 17:31:38 -07:00
shamoon
5636bc4b3f Adds Ukranian translation 2023-08-06 08:08:07 -07:00
shamoon
bbb5bb0d75 Cancel possibly slow queries on leave doc details 2023-08-03 21:49:11 -07:00
shamoon
025fbe4d2a 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
shamoon
b5c69a9918 Do not force scroll on notes .card-body 2023-08-01 09:14:32 -07:00
shamoon
905f8fea6e Merge branch 'dev' into feature-widget-buttons 2023-07-27 11:49:17 -07:00
shamoon
c4d57522a2 Useful buttons for saved view widgets 2023-07-26 11:36:55 -07:00
shamoon
f05bcb4a35 Fix large card date hover text color 2023-07-26 11:31:37 -07:00
shamoon
de2c82787e Include permissions for mail rules & accounts 2023-07-26 07:28:25 -07:00
shamoon
0a2f06b68e Update frontend consumer status phases 2023-07-26 07:03:43 -07:00
Trenton Holmes
41839728fe Small improvement to the consumer status with stronger typing 2023-07-26 07:03:43 -07:00
Trenton H
dbcf040dde Updates some Python dependencies and the hooks 2023-07-20 18:30:11 -07:00
Tomas Rimkus
026e3cc365 UI tour fixes and improvements
Update UI tour library
Fix popover padding in tour steps
Add 10px backdrop offset where needed
Refactor tour initialization to use defaults
Make popover-body rule more specific
Update messages.xlf
2023-07-13 07:58:41 -07:00
shamoon
a6a503d532 Merge pull request #3749 from paperless-ngx/fix/issue-3747
Fix: translate file tasks types in footer
2023-07-05 10:14:37 -07:00
shamoon
9ad140d505 Merge pull request #3722 from paperless-ngx/feature-slovak-translation
Feature: Add Slovak translation
2023-07-05 09:59:12 -07:00