Rushabh Mehta
20dea90670
feat(minor): Packages! also cleanup of DocField and other minor fixes
2021-09-05 22:01:55 +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
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
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
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
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
Nabin Hait
a280547c22
perf: Performance enhancement on creation of custom fields from setup wizard ( #13139 )
2021-05-06 17:05:55 +05:30
Gavin D'souza
843c544117
refactor: Rename function and add docstring
...
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-05-06 16:56:50 +05:30
Gavin D'souza
255a959a3e
chore: Rename function to validate conflicting methods and properties
2021-05-06 16:56:49 +05:30
mergify[bot]
238a884765
Merge pull request #13048 from anupamvs/customize-form-ux
...
fix: naming section display
2021-05-03 05:03:16 +00:00
Anupam
518eeee035
fix: naming section display
2021-04-29 21:25:10 +05:30
Frappe Bot
ffef39dd07
refactor: Delete Qunit test files
...
Since it is no longer used
(cherry picked from commit d30596b15e )
2021-04-28 03:48:49 +00:00
Frappe Bot
d30596b15e
refactor: Delete Qunit test files
...
Since it is no longer used
2021-04-27 21:37:15 +05:30
Raffael Meyer
e42b4e7311
fix: add back column break that was lost in merge
2021-04-27 14:46:12 +05:30
barredterra
72dc556bb3
fix: make Default Email Template a link field
2021-04-27 14:45:47 +05:30
barredterra
46c5e30185
feat: add default_email_template to Customize Form
2021-04-27 14:43:54 +05:30
Raffael Meyer
6f73455eb2
Merge branch 'develop' into default_email_template
2021-04-16 12:32:51 +02:00
leela
219b60a6b1
fix: add field type change check in custom field validation
...
We have fieldtype change check in customizeform but not in custom field.
Added the same for customfield.
2021-04-15 13:14:57 +05:30
Sagar Vora
497ea861f4
feat: frappe.whitelist for class methods
2021-03-30 13:07:58 +05:30
Raffael Meyer
5290b4c65f
fix: add back column break that was lost in merge
2021-03-27 15:01:37 +01:00