Commit graph

480 commits

Author SHA1 Message Date
mergify[bot]
6299938165
Merge pull request #14266 from shariquerik/wspace-code-cleanup
fix: Workspace 2.0 code cleanup
2021-10-21 07:31:07 +00:00
barredterra
58de6515e7 test: test_create_custom_fields 2021-10-14 11:23:56 +02:00
barredterra
9ac748dc30 feat: allow tuple of doctypes as key 2021-10-11 19:45:06 +02:00
Shariq Ansari
6839f6b4db
Merge branch 'frappe:develop' into wspace-code-cleanup 2021-10-11 16:35:34 +05:30
Shariq Ansari
5d00602f06 fix: Removing unused code for worspace 2021-09-20 21:27:14 +05:30
Suraj Shetty
1cd20c04a7 Merge branch 'develop' of https://github.com/frappe/frappe into form-tab-break 2021-09-16 13:00:07 +05:30
Rushabh Mehta
20dea90670 feat(minor): Packages! also cleanup of DocField and other minor fixes 2021-09-05 22:01:55 +05:30
Suraj Shetty
ed806c2c74 Merge branch 'develop' of https://github.com/frappe/frappe into form-tab-break 2021-09-04 15:37:58 +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
Deepesh Garg
cd17ca274c fix: Check column length from information schema 2021-08-31 10:44:11 +05:30
Deepesh Garg
cd9b07b3bb test: Add test case for docfield length property update 2021-08-21 19:07:44 +05:30
Deepesh Garg
3fd60b70ee fix: Length change for docfield not updated in Database 2021-08-18 11:42:44 +05:30
Suraj Shetty
4eb21aaeb2
Merge branch 'develop' into form-tab-break 2021-08-13 09:39:16 +05:30
shariquerik
5bed8031a2 fix: removed padding code from wspace json files & patch 2021-08-10 17:52:42 +05:30
Shariq Ansari
1ab70d2145
Merge branch 'frappe:develop' into wiki-based-desk 2021-08-10 12:20:08 +05:30
shariquerik
bf4611e84b fix: updated wspace json files & minor onboarding fix 2021-08-06 14:07:22 +05:30
mergify[bot]
e8770a6a6e
Merge pull request #13823 from deepeshgarg007/custom_internal_links
feat: Internal link support in custom document links
2021-08-05 15:35:07 +00:00
Shariq Ansari
cec1de0389
Merge branch 'frappe:develop' into wiki-based-desk 2021-08-05 11:30:18 +05:30
Deepesh Garg
4c400bd6c9 test: Custom internal links addition 2021-08-04 17:10:33 +05:30
shariquerik
84f195ca19 fix: Resolved Conflicts 2021-08-03 17:53:14 +05:30
Shariq Ansari
fd99f4bb61
Merge branch 'frappe:develop' into icon-picker 2021-08-03 12:47:44 +05:30
Gavin D'souza
01d275f667 style: Format code for better readability
* Remove trailing whitespaces
* Format code to fit module conventions
* Add appropriate new lines between imports, classes, fn defs, etc
* Added comments, docstrings & module headers
2021-07-28 18:55:27 +05:30
Aradhya-Tripathi
84ff1d0af9 style: removed frappe.db.sql comments 2021-07-28 13:48:01 +05:30
Suraj Shetty
71a22f5799 fix: Add Tab Break option to customize form field 2021-07-27 12:00:55 +05:30
Suraj Shetty
63e45dbb1b Merge branch 'develop' of https://github.com/frappe/frappe into form-tab-break 2021-07-27 10:36:28 +05:30
Aradhya-Tripathi
eb7e95ae26 refactor: using frappe orm 2021-07-21 19:19:06 +05:30
Shariq Ansari
e3e26dd8d6
Merge branch 'develop' into icon-picker 2021-07-14 13:50:39 +05:30
Suraj Shetty
cf67dbce5a fix: Add missing fieldtypes in for custom fields 2021-07-13 16:56:49 +05:30
shariquerik
b6c71251a3 feat: Icon Picker 2021-07-10 21:58:57 +05:30
shariquerik
8475c6c426 fix: updated wspace json files 2021-07-08 17:41:22 +05:30
shariquerik
f2a91f5709 fix: updated wspace json files 2021-07-08 15:37:01 +05:30
Bhavesh Maheshwari
d103943630 fix: make label field non mandatory
(cherry picked from commit 6532dc0e268e7470d2978b0fe26c074a19de44a0)
2021-06-22 10:40:48 +00:00
Bhavesh Maheshwari
a9970c1ab5 fix: router issue
(cherry picked from commit 5297d730761bbf71850bb3b41c6b10ff9f33237e)
2021-06-22 10:40:46 +00:00
Sagar Vora
78afc2d0ad
fix: remove deprecated field from Customize Form (#13536) 2021-06-21 20:00:54 +05:30
Suraj Shetty
2463f3a237
Merge branch 'develop' into form-tab-break 2021-06-17 20:48:27 +05:30
Gavin D'souza
254b8ae1b3 fix: Use set difference instead of comprehension
Bug introduced via b0bb0cf2c4 due to
improper comprehension definition
2021-06-11 21:07:16 +05:30
Gavin D'souza
b0bb0cf2c4 refactor(minor): Use set comprehension instead of difference 2021-06-11 19:33:44 +05:30
Gavin D'souza
c489846547 Merge branch 'develop' into unnecessary_comprehensions 2021-06-11 19:30:23 +05:30
Gavin D'souza
2ad9d202cb Merge branch 'develop' of github.com:frappe/frappe into drop-py2-code 2021-06-03 11:21:55 +05:30
walstanb
a457501422 fix: removed duplicate fields from Customize Form 2021-06-02 16:20:51 +05:30
Gavin D'souza
8558116c70 Merge branch 'develop' of github.com:frappe/frappe into drop-py2-code 2021-05-31 18:28:28 +05:30
Fisher Yu
872299b3f3
fix: Translate Strings (#13277) 2021-05-31 16:31:42 +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
prssanna
ea3ca571ad fix: add Tab Break to no value fields 2021-05-18 17:21:00 +05:30
prssanna
022f7e1c06 fix: label for Tab Break fields 2021-05-18 17:21:00 +05:30
prssanna
6e9555ca81 feat: add Tab Break to Custom Field fieldtype 2021-05-18 17:21:00 +05:30
Ankush Menat
4754ab71d1
perf(minor): remove unnecessary comprehensions
- remove several unnecessary comprehensions from functions that accept a generator.
- Using `[x for x in iter]` causes a list to be built first then passed to the outer function.
- `any` and `all` can take generator instead. This makes memory usage O(1) and actually makes these functions short-circuiting. E.g. if the first condition fails then `all` will immediately return false instead of evaluating all the entries.
- `sum`, `min`, `max` => memory usage become O(1)
- `list`, `set`, `.join()` => roughly halves memory usage, as list is not required to be built.
- lastly, it's two fewer characters to read/think about.
2021-05-12 20:38:18 +05:30
gavin
a094cbee56
Merge pull request #12242 from gavindsouza/dont-call-dynamic-properties
fix: Don't evaluate dynamic properties to check if conflicts exist
2021-05-10 13:57:50 +05:30
Ankush Menat
a077466b1e
chore: replace assertEquals with alias assertEqual
`assertEquals` has been deprecated, while not fully removed it will
still keep giving warnings in tests / CI.

ref: https://docs.python.org/3/library/unittest.html#deprecated-aliases
2021-05-06 21:16:22 +05:30
Nabin Hait
e22288ec8d fix: Fixed merge conflict 2021-05-06 19:16:55 +05:30