Commit graph

522 commits

Author SHA1 Message Date
Ankush Menat
c1f3cb101c
test: custom grid buttons (#19073)
[skip ci]
2022-12-01 13:16:00 +05:30
marination
ed2804d1c5 test: Cypress test to check basic has_perm and get_perm JS APIs
- Test removes System Manager role for user and expects certain perms
- On Kanban Board DocType, only System Manager is allowed to print/export/email/report/share
- DocType level test only
2022-11-21 13:41:04 +05:30
Ankush Menat
5d1d3564ef test: Dashboard basic ui test + whitelisting 2022-11-06 10:59:38 +05:30
Shariq Ansari
b0c1e400ea
feat: configurable default views (#18409)
Co-authored-by: hrwx <himanshuwarekar@yahoo.com>
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-10-17 16:36:01 +05:30
Ankush Menat
2fa5d7636f chore: disable flakey test
This has 29% failure rate and after repeated attempt to fix it, it's
still quite flaky.
2022-10-13 12:07:57 +05:30
Ankush Menat
45645c3f73 feat: consistent, translatable timeline messages (#17526)
reapply accidentally reverted commit

[skip ci]
2022-10-12 22:27:04 +05:30
Ankush Menat
ab3f706948 Revert "feat: consistent, translatable timeline messages (#17526)"
This reverts commit 112c492f3e.
2022-10-12 18:03:57 +05:30
Shariq Ansari
458757708f test: minor change 2022-10-06 18:05:24 +05:30
Shariq Ansari
930f8c34ed test: minor change 2022-10-06 16:52:39 +05:30
Shariq Ansari
2e80f044c2
Merge branch 'develop' into ui-test-fix 2022-10-06 16:08:24 +05:30
Raffael Meyer
112c492f3e
feat: consistent, translatable timeline messages (#17526)
* feat: consistent, translatable timeline messages

* fix: save only filename for attachment comments

The rest of the comment will be added and translated ad-hoc by form_timeline.js

* patch: clean up Comments of type "Attachment"

* feat: further message types

* style: format with prettier

* test: cypress timeline

Timeline now correctly displays "You ..." instead of "{User} ..."

* feat: german transations for timeline comments

* fix: enable auto_commit_on_many_writes

* fix: don't update modified timestamp in patch
2022-10-06 16:05:34 +05:30
Shariq Ansari
36bc9d3142 test: flaky Cypress test 2022-10-06 15:57:49 +05:30
Ankush Menat
45b74861af test: fix broken test
Not sure why there's test on doctype "created by". Makes no sense.
2022-09-10 13:07:37 +05:30
Ankush Menat
0896873c8a test: add test role to user 2022-09-10 12:48:33 +05:30
Ankush Menat
a6b341bd59 test: fix tests using admin account 2022-09-10 12:48:33 +05:30
Ankush Menat
f07bc3b369 test(UI): use non-admin user for tests 2022-09-10 12:48:33 +05:30
Ankush Menat
c400e18979 refactor: drop file upload plugin
Cypress supports this natively now!
2022-09-08 16:51:59 +05:30
mergify[bot]
eb4c4fb7b2
fix: encode docname when routing (backport #17092) (#17374)
(cherry picked from commit c8777c59cf665ab54218cd7bf9accd1d8e22ddf9)

Co-authored-by: phot0n <ritwikpuri5678@gmail.com>
2022-09-07 21:25:51 +05:30
Ankush Menat
e397b27d29 test: upgrade cypress from v6 to v10
chore: run cypress migrator

fix: specPattern should be an array

test: correct intercept URL

This is breaking change in cypress 7.0

test: make list view test rerunnable

test: redo undo tests and add compare doc

test: scroll to action button

chore: drop flaky tests

fix: remove scroll behaviour

fix: clear filters before running count test

test: input delay causes flake
2022-09-02 17:47:30 +05:30
HENRY Florian
df9e8c62dd
feat: review Custom and Build workspace, move background Job to Build Workspace (#17981)
* feat: review link for Custom, build and NavBar

* feat: review link for Custom, build and NavBar

* feat: review link for Custom, build and NavBar

* feat: review link for Custom, build and NavBar

* feat: review link for Custom, build and NavBar

* feat: review link for Custom, build and NavBar

* chore: linter json

* fix: replace Block Module By Module Profile

* chore: cypress test

* chore: reset package.json to develop

* refactor: workspace link, system logs section

- removed workspace listview link, visiting list view isn't required for
  practically all the tasks
- Frappe Logs -> System Logs

[skip ci]

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-09-02 11:20:59 +05:30
Ankush Menat
7cca7ca0e7 refactor: move section assignment and add test 2022-08-31 12:24:56 +05:30
Ankush Menat
e8af6b2c16 feat: make attachments public on doctypes
When this checkbox is checked, while uploading docs using fileuploader
the default visibility will be set to "public".

At present all uploaded attachments are private, however in following
cases it makes sense to set default as public:

1. Blog post
2. Item catalog
3. Website item

Considering this we decided to add this configurtion so developers can
specify sane default while user still has control over it using
"Customize form"

Enabled this for "blog post" doctype

Unrelatd change: consistent "form settings" section on DocType and customize
form
2022-08-26 12:42:26 +05:30
Shariq Ansari
2181233c75 test: fixed failing UI test 2022-08-17 21:27:09 +05:30
Rushabh Mehta
6a2c70b426
Merge pull request #17785 from rmehta/editable-form
feat: Form Editor
2022-08-16 12:29:48 +05:30
hrwx
42a3fe0fa2 chore: remove untranslated matching 2022-08-12 17:04:37 +01:00
Himanshu
3faaf5f361
Merge branch 'develop' into merge_translated_doctypes 2022-08-12 13:10:49 +01:00
Shariq Ansari
52c5270f00
Merge branch 'develop' into editable-form 2022-08-12 11:22:35 +05:30
Rushabh Mehta
e97f709e5b fix(test): dashboard_link.js 2022-08-11 22:38:03 +05:30
Shariq Ansari
14bcd977b5
feat: Webform Success Page and some customization options (#17790) 2022-08-11 21:18:51 +05:30
Rushabh Mehta
ec9239525b fix(tests): fix tests related to tab + User cleanup 2022-08-11 18:11:23 +05:30
Himanshu
c6e2ce3e42
Merge branch 'develop' into merge_translated_doctypes 2022-08-09 09:50:31 +01:00
Himanshu
1aa3f75d4c
feat: custom __link_options (#17699)
* feat: custom __link_optins

* chore: linter fixes

* test: add ui test for custom link option
2022-08-09 11:20:13 +05:30
hrwx
d9c3c03522 chore: set middle name as _Test User for admin 2022-08-08 22:06:59 +01:00
Himanshu
dffe396f1c
Merge branch 'develop' into merge_translated_doctypes 2022-08-08 16:21:02 +01:00
Suraj Shetty
6ef41e03e3 revert: Remove emoji from doctype
Use colored text instead
2022-08-08 17:10:34 +05:30
Himanshu
ad48f93b7b
Merge branch 'develop' into merge_translated_doctypes 2022-08-08 10:41:35 +01:00
Shariq Ansari
0ce7f44d45
fix: Webform Misc Fix (#17642) 2022-08-07 15:24:50 +05:30
hrwx
db2e898397 chore: linter fixes 2022-08-06 10:52:59 +01:00
hrwx
b01929405d refactor: translatable doctypes 2022-08-05 21:38:10 +01:00
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +05:30
gavin
d285ce910f
Merge branch 'develop' into mariadb-client-refactor 2022-07-22 12:11:54 +05:30
Ankush Menat
5ea96ced3a test: undo/redo, jump to field UI tests 2022-07-20 21:44:48 +05:30
Gavin D'souza
1ccdad811a Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor 2022-07-19 16:23:24 +05:30
Shariq Ansari
a50e0ffa08
refactor: Webform (#17232) 2022-07-19 15:52:15 +05:30
Ankush Menat
e762fe9ce1
test: clear filters on ToDo before running test (#17494) 2022-07-13 12:29:41 +05:30
Ankush Menat
d04df394a5 test: check for uploaded file to be private 2022-07-08 11:06:49 +05:30
gavin
43f378d848
Merge branch 'develop' into mariadb-client-refactor 2022-07-07 16:00:38 +05:30
Shariq Ansari
15018b96fa
test: fixed flaky workspace blocks UI test (#17436) 2022-07-07 14:53:25 +05:30
Ankush Menat
786d52f6f9 chore: disable recorder UI test 2022-06-27 17:32:57 +05:30
Ankush Menat
e63e26890c fix: show "doc modifed after" load message 2022-06-21 20:25:54 +05:30