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
Suraj Shetty
743e361449
Merge branch 'develop' into core-test-coverage-1
2021-08-23 11:02:50 +05:30
Gavin D'souza
32c6cf1c44
refactor(misc): frappe.db.delete > frappe.db.sql
...
Use frappe.db.delete wherever possible. Get rid of all the frappe.db.sql ;)
This commit focuses on the pending modules that had relatively easier
DELETE statements.
2021-08-19 19:53:16 +05:30
Suraj Shetty
a7fb1816aa
refactor: Remove unused and redundant code
2021-08-19 15:27:25 +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
538ef2168b
fix: removed wrong queries
2021-07-24 22:58:12 +05:30
Aradhya-Tripathi
1204ae8ce4
fix: fixed spacing and ui tests
2021-07-23 10:45:54 +05:30
Aradhya-Tripathi
8feb430371
refactor: Moved raw queries to frappe orm
2021-07-21 23:32:18 +05:30
Aradhya-Tripathi
eb7e95ae26
refactor: using frappe orm
2021-07-21 19:19:06 +05:30
Gavin D'souza
eca30667d2
chore: Drop FileNotFoundError handling for PY2
2021-05-26 22:21:23 +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
Saqib Ansari
a93c2caab2
fix: reverting of series with a variable
2021-04-06 20:48:33 +05:30
prssanna
e40892fdb6
feat: flag to delete attached files permanently
2021-03-25 14:34:10 +05:30
prssanna
f97cc370cf
feat: flag to delete docs permanently
2021-03-25 14:34:10 +05:30
Gavin D'souza
79cb3f0596
feat: Rename "Custom Script" to "Client Script"
...
* Remove postfix "-Client" from ClientScript.autoname
2021-02-04 14:06:09 +05:30
Rushabh Mehta
c93368b242
fix(minor): merge develop
2021-01-08 14:35:55 +05:30
Gavin D'souza
c876cdc63e
fix: Update controllers via delete_doc and rename_doc only in
...
developer_mode
2020-12-16 19:04:59 +05:30
Rushabh Mehta
ff71329b03
fix(merge): develop
2020-12-02 10:54:10 +05:30
Gavin D'souza
d8335e7a0e
Merge branch 'develop' of github.com:frappe/frappe into fix-broken-folders
2020-11-23 11:17:41 +05:30
Gavin D'souza
18c0270168
fix: Delete controllers if delete_doc triggered via tests too
2020-11-11 19:54:31 +05:30
Rushabh Mehta
75fe8a615a
feat(app): move /desk to /app
2020-11-11 16:31:47 +05:30
Gavin D'souza
d28fb7ff5e
fix: ignore on_trash, delete comment on dt
2020-11-10 18:44:10 +05:30
Rushabh Mehta
b09beb9147
fix(tests): cleanup
2020-08-17 09:41:54 +05:30
Gavin D'souza
009c994d2d
fix: set flag in_uninstall to not delete controller code
...
when bench command is executed to uninstall-app from site, controller
code should not be deleted
2020-06-19 12:12:15 +05:30
Himanshu
5bb489c637
Update frappe/model/delete_doc.py
2020-04-16 10:06:41 +05:30
Kenneth Sequeira
24a8b03639
chore: improve error message on delete
2020-04-08 20:27:38 +05:30
Faris Ansari
2e2c038f35
fix: Skip Email Queue doctype in delete_doc ( #9364 )
2020-01-27 21:33:47 +05:30
Rucha Mahabal
19c69e5316
fix: anti-pattern code
2020-01-27 12:26:12 +05:30
Rucha Mahabal
f99cbf9690
fix: rename Update Log to Event Update Log for consistency
2019-12-26 12:53:58 +05:30
Rucha Mahabal
199291e9c5
fix: conflicts
2019-12-09 17:16:18 +05:30
mergify[bot]
ac7c5837c5
Merge pull request #8861 from alias/frappe_org_dev
...
fix: Allow to delete custom doctype with custom module
2019-12-03 16:17:45 +00:00
Rucha Mahabal
767168ed72
fix: travis.yml conflict
2019-11-28 19:24:32 +05:30
Suraj Shetty
046c43e0b5
fix: Parameterize link_doctype
2019-11-26 11:29:30 +05:30
Ben Knowles
2c16a86e86
fix: parameterize link name when clearing timeline references
...
link_name could potentially include an apostrophe and cause:
`"mysql.err.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax"`
Adjusted the query to parameterize it
2019-11-25 16:20:33 -06:00
Bob Schulze
ed98820929
fix for a problem than prevents deletion of a table that is solely custom
2019-11-21 09:35:33 +01:00
Rucha Mahabal
b338e3dc48
fix: codacy
2019-11-14 17:51:33 +05:30
Rucha Mahabal
fa6a29ff37
fix: conflicts
2019-11-13 11:23:30 +05:30
Faris Ansari
3bd80c3cd3
fix: tests
2019-10-21 19:16:38 +05:30
Rucha Mahabal
870bf66807
fix: replaced Node Configuration with Event Producer and Consumer, removed Node related doctypes
2019-10-11 02:16:31 +05:30
Rucha Mahabal
7c5ea346eb
fix: changed module name from offline to events_streaming
2019-10-11 02:16:31 +05:30
Rucha Mahabal
68a3bd0a36
feat: master-follower one way sync
2019-10-11 02:16:30 +05:30
Himanshu Warekar
13321ec5f4
chore: rename global_tags to tags
2019-10-05 09:57:43 +05:30
Himanshu Warekar
02cebdd7d3
fix: use frappe.tags
2019-10-03 16:43:36 +05:30
Himanshu Warekar
f6d1ce2194
feat: Global Tags
2019-09-24 01:03:11 +05:30
Faris Ansari
76bfa7ccff
fix: Dont delete controllers in for_reload
2019-09-20 16:44:44 +05:30
Suraj Shetty
139da25574
fix: Skip get_table_fields of Custom Field
...
- if field_doctype is Custom Field
2019-09-12 19:29:12 +05:30
Saurabh
dd4761e404
Merge pull request #8380 from nabinhait/bulk-delete-error-handling
...
fix: Handle error on bulk deletion
2019-09-10 11:26:46 +05:30
Nabin Hait
b86dbf1c82
fix: Handle error on bulk deletion
2019-09-09 16:18:02 +05:30
gavin
f3b1846901
fix: added FileNotFoundError compatability ( #8342 )
2019-09-05 13:17:40 +05:30