Commit graph

650 commits

Author SHA1 Message Date
Ankush Menat
0e92fc9bf5 fix: Clear cache after role perm manager 2023-06-19 16:29:35 +05:30
mergify[bot]
133b3bce7d
fix: Cancel All and Dashboard views title translations (#20173) (#20175)
(cherry picked from commit 7253a10d07e7ad27f8b473af7e10fecd88080409)

Co-authored-by: gsi-joel <126265080+gsi-joel@users.noreply.github.com>
2023-02-28 11:41:13 +05:30
Ankush Menat
8446875257
refactor!: Remove "Set user permission" permtype (#20090)
This has never worked and setting user permission requires system
manager role always (because of permissions on list view)
2023-02-20 16:07:49 +05:30
Ankush Menat
b55bbd0a8c
fix(UX): Sort case-insensitive where it makes sense (#20088) 2023-02-20 13:07:32 +05:30
Raffael Meyer
09d35c74eb
fix: remove redundant translation (#18775) 2022-11-06 17:27:02 +05:30
Shariq Ansari
60d9335d38 refactor: Recorder code to vue3 2022-09-29 14:24:34 +05:30
Ankush Menat
fc048ae5e3 refactor!: remove background jobs page 2022-09-12 11:49:25 +05:30
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +05:30
Ankush Menat
81b37cb7d2
refactor: clean up code to py310 supported features (#17367)
refactor: clean up code to py39+ supported syntax

- f-strings instead of format
- latest typing support instead of pre 3.9 TitleCase
- remove UTF-8 declarations.
- many more changes

Powered by https://github.com/asottile/pyupgrade/ + manual cleanups
2022-07-01 11:51:05 +05:30
Gavin D'souza
084a1e6c31 refactor: get_permissions
* Show page even if dangling Custom DocPerm records encountered
* Add typing hints
* Cleanup APIs
2022-06-27 15:18:06 +05:30
Suraj Shetty
5db7716df2
Merge pull request #17223 from frappe/rpm_typo 2022-06-16 16:20:27 +05:30
Michelle Alva
86f9465432
chore: typo 2022-06-16 16:16:00 +05:30
chillaranand
25f82e966c refactor: Remove unused imports & code 2022-05-19 15:34:35 +05:30
Faris Ansari
839eee7bd5 fix: current job was not shown in workers view
because of `if` conditions that should only be checked when view is Jobs
2022-04-16 08:04:07 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Faris Ansari
c7dbb61e55 fix: Refactor Background Jobs page
- Jobs/Worker view
- Filter by Queue Timeout and Job Status
- Toggle Auto Refresh
- Consistent theme
2022-03-31 16:35:54 +05:30
smehata
6cbede451d
fix(Permission Manager): Update client-side permission data (#15945)
On updating access from Permission Manager. Permissions are not updated till we do a hard refresh.
![Screenshot from 2022-02-11 12-32-52](https://user-images.githubusercontent.com/53169014/153550692-dc530eec-f44e-497d-9aca-8c10f1819cb0.png)
2022-02-16 04:42:35 +00:00
Summayya
962a3736aa refactor: add semicolon 2022-02-02 12:22:49 +05:30
Summayya
12c7f2ae2d feat: add breadcrumbs in dashboard view 2022-02-02 11:47:50 +05:30
Sagar Vora
a1ddd25dff fix: unable to delete role permissions 2021-10-08 15:36:58 +05:30
leela
d333b00904 fix: Get background jobs info 2021-09-28 21:50:04 +05:30
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Leela vadlamudi
2c659e1bce
Merge pull request #13746 from leela/rq-auth
feat: Redis Authentication and namespaces for Redis queue instance
2021-07-30 09:07:31 +05:30
Gavin D'souza
dfccae5246 perf(minor): Permission Manager remove API
Delete using the filters directly instead of selecting rows in one query
and deleting those rows in another. DBMS would have to scan the table
twice prior
2021-07-28 19:05:27 +05:30
Aradhya-Tripathi
84ff1d0af9 style: removed frappe.db.sql comments 2021-07-28 13:48:01 +05:30
leela
db09a85183 refactor: Add authentication for Redis Queue 2021-07-26 21:09:34 +05:30
Aradhya-Tripathi
fa6cb14ee5 refactor: moved from raw queries to frappe orm in
core
2021-07-21 19:15:38 +05:30
Gavin D'souza
e407b78506 chore: Drop dead and deprecated code
* Remove six for PY2 compatability since our dependencies are not, PY2
  is legacy.
* Removed usages of utils from future/past libraries since they are
  deprecated. This includes 'from __future__ ...' and 'from past...'
  statements.
* Removed compatibility imports for PY2, switched from six imports to
  standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
  versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
2021-05-26 15:31:29 +05:30
Faris Ansari
6347d3e6f1 Merge remote-tracking branch 'upstream/develop' into esbuild 2021-05-04 07:13:30 +05:30
Ernesto Ruiz
b0af8886d5
fix: Make strings translatable (#13046)
Co-authored-by: Mohammad Hasnain Mohsin Rajan <hasnain2808@gmail.com>
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-05-03 09:34:16 +05:30
Faris Ansari
e72bb135e1 fix: Asset URLs
Helpers to get asset path
Python: frappe.utils.jinja_globals.bundled_asset
JS: frappe.assets.bundled_asset
2021-04-29 14:47:52 +05:30
Faris Ansari
34c6d099b1 fix: Update all /assets urls with new urls 2021-04-24 16:24:08 +05:30
Rohit Waghchaure
112784e7ae feat: custom user type with doctypes 2021-04-01 13:54:11 +05:30
mergify[bot]
15a9b6a727
Merge pull request #12556 from resilient-tech/fix-recorder-routing
fix: routing issues in recorder
2021-03-10 12:19:38 +00:00
mergify[bot]
e2c2e88610
Merge pull request #12530 from resilient-tech/fix-dashboard-view
fix: allow navigating back from dashboard view
2021-03-10 11:27:22 +00:00
Sagar Vora
0588e9c7ff fix: routing issues in recorder 2021-03-10 16:55:03 +05:30
walstanb
9501eddcf1 fix: allows navigating back from dashboard 2021-03-05 12:16:58 +05:30
Rohan Bansal
c6d61123b5 fix: type-check if failed jobs are to be shown 2021-02-04 14:26:07 +05:30
Rohan Bansal
be1c68c07d fix: sider 2021-02-03 15:32:37 +05:30
Rohan Bansal
e439c02561 fix: move button to top of the page 2021-02-03 15:22:47 +05:30
Rohan Bansal
9b83512f1c Merge remote-tracking branch 'upstream/develop' into feat-remove-failed-queue 2021-02-02 15:05:54 +05:30
prssanna
b95311728a style: fix formatting 2021-01-29 16:34:35 +05:30
Suraj Shetty
a2207d1174 style: Fix formatting issue 2021-01-29 15:58:29 +05:30
Suraj Shetty
21c020e036 style: Fix formatting issues 2021-01-29 15:43:11 +05:30
Suraj Shetty
d5f4edcda9 style: Fix sider issues 2021-01-28 22:18:12 +05:30
Suraj Shetty
d28fd926db fix: Recorder routing 2021-01-28 19:50:46 +05:30
Suraj Shetty
b94d5778a8 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2021-01-19 10:36:50 +05:30
Shivam Mishra
53eda718b6
Merge pull request #12078 from scmmishra/permission-alert-flag 2021-01-06 12:51:17 +05:30
Rushabh Mehta
b2686e0623 fix(routing): removed /space from routing 2021-01-01 12:30:35 +05:30
Saurabh
97b693c6b0
feat: Added permission to grant only Select access to document (#12063)
* feat: add permtype 'select' to DocPerm and CustomDocPerm

* feat: add 'select' perm in rights tupple

* feat: provisions to handle select permission

* feat: toggle href based on permissions

* feat: pass permission type explicitly while validating link in permission check

* fix: sider

* feat: added test cases to validate select perm

* feat: add method frappe.only_has_select_perm to explicitly check the select perm

* fix: if user only has select perm then do not show anchor tag for link fields

* fix: sider
2020-12-29 16:58:28 +05:30