Commit graph

540 commits

Author SHA1 Message Date
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
Ankush Menat
9c5d6feec1
test(cypress): show full response on insert_doc failure (#17257) 2022-06-21 13:30:39 +05:30
Ankush Menat
6350406305
perf: remove duplicate control assets (#17237)
* test: flaky tests due to uncleared filters

* perf: remove duplicate code in assets

Remove controls which are separately bundled too, saves ~1.1MB of
network transfer.

Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2022-06-20 14:28:38 +05:30
Ankush Menat
54824071c2 test: simple test for URL routing with params 2022-06-17 20:47:55 +05:30
Shariq Ansari
d9e848ef88 test: added UI test for date range control 2022-06-16 13:00:34 +05:30
Abhirup Pal
8c8249894b
fix: Update label for editing in full page and add custom logic for rendering it. (#17149) 2022-06-13 16:41:43 +05:30
Ankush Menat
03f48580ef test: button with single quote in label 2022-06-12 16:24:39 +05:30
Shariq Ansari
e740ad180d
test: fix for failing Data Control UI test (#17133) 2022-06-10 15:46:50 +05:30
Rushabh Mehta
7a1d5e304c
Merge pull request #17108 from rmehta/custom-formatters
feat(minor): add custom formatters for text type controls
2022-06-09 17:16:49 +05:30
gavin
fc9308f8ba
fix: Use same labels for standard fields throughout interfaces (#17031)
* fix(model)!: Match labels in meta & model

Labels for fields have been inconsistent. In standard filters, doc.name
would be labelled as "Name" while it's "ID" in the edit filters option.
Similarly for other fields, the same view will address the same fields
differently. This PR aims to get rid of such inconsistencies.

Changes:

* [model] Change label ID for name to 'Name'
* [meta] Match labels of owner, modified, modified_by
* [meta] Add labels for more fields - from model.js

* fix!: get_label to fetch labels as Desk does

* fix!(label): Refer to name field as 'ID' over 'Name'

* test: Use 'ID' label instead of 'Name'
2022-06-09 15:34:57 +05:30
Rushabh Mehta
e66cd830fb fix(minor): test + tabs 2022-06-09 14:17:43 +05:30
Rushabh Mehta
da9ac52ffb fix(minor): lint 2022-06-09 12:44:47 +05:30
Rushabh Mehta
e790b5e8b1 fix(minor): added UI test 2022-06-09 12:34:09 +05:30
Rushabh Mehta
378b44a382 fix(minor): fix flaky test 2022-06-09 12:07:04 +05:30
Shariq Ansari
b44235587f
test: fixed failing UI test (#16958) 2022-05-24 13:17:21 +05:30
Ankush Menat
fe8520a2bd
fix: duplicate buttons on desk (#16941) 2022-05-23 12:39:01 +05:30
Shariq Ansari
3a2cd2650e test: fixed failing UI test 2022-05-19 15:00:54 +05:30
Shariq Ansari
176518ed2c
fix: Mandatory field bad UX (#16919)
Mandatory fields are highlighted red on page load. It should only highlight if we save the document.

**Before:** Form

https://user-images.githubusercontent.com/30859809/168791201-049c1de2-b7f5-4dff-bf40-093ff96d4510.mov

**After:** Form

https://user-images.githubusercontent.com/30859809/168791164-45e2289b-2d2c-4ebb-8b4d-cd2932140572.mov

**Before:** Dialog

https://user-images.githubusercontent.com/30859809/168791207-800ba9e5-b4eb-419f-8a99-f94916c21c79.mov

**After:** Dialog

https://user-images.githubusercontent.com/30859809/168791210-f2761d23-3a60-40c2-8aff-2d2cebbd77fa.mov

Resolves https://github.com/frappe/frappe/issues/16866
2022-05-18 09:57:49 +00:00