Commit graph

1246 commits

Author SHA1 Message Date
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
Shivam Mishra
1898b2fb0e fix: use hasattr to verify links (#8938)
* fix: use hasattr to verify links

* fix: verify length explicitly

* style: remove unnecessary call to len
2019-12-03 07:11:04 +00:00
Faris Ansari
488c68df96
Merge branch 'develop' into refactor-scheduler 2019-12-02 13:16:45 +05:30
Shridhar
44c7f08ccf convert operator to lowercase while checking 2019-11-28 18:07:14 +05:30
Shridhar
acae06a36a case insensitive search for postgres 2019-11-28 16:13:20 +05:30
mergify[bot]
08d7ccae2d
Merge pull request #8880 from ruchamahabal/setup_wizard
feat: Onboarding Wizard With Configurable Slides
2019-11-28 09:04:35 +00:00
Rucha Mahabal
06953a3dc0 fix: added slide order in Slide doctype, removed Settings doctype 2019-11-26 18:42:22 +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
Rucha Mahabal
27245d14be feat: onboarding wizard with configurable slides 2019-11-21 20:21:13 +05:30
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
Rushabh Mehta
3e4e6d4b3f feat(doctype link): add links to doctype for link dashboard 2019-11-07 12:14:09 +05:30
Rushabh Mehta
7cd329fac9 reactor(scheduler): created "Scheduler Job Type" and cleaned up scheduler 2019-11-07 12:14:09 +05:30
Shivam Mishra
7eb322f2be
Merge pull request #8672 from scmmishra/group-by-fix
fix: Do not append table name for field with standard sql method
2019-11-07 11:07:55 +05:30
Gavin D'souza
539fe0aaa0 chore(style): consistencies in formatting 2019-11-04 11:47:52 +05:30
Gavin D'souza
50cee0f32e fix(naming): empty string isnt accepted for rename 2019-11-04 11:45:32 +05:30
Shivam Mishra
00d21a2ac5 fix: tests for db_query 2019-10-29 10:17:52 +05:30
Shivam Mishra
08b992d547 style: removed loop to check standard SQL 2019-10-29 10:07:39 +05:30
Gavin D'souza
5255513fff fix: merge documents without error 2019-10-27 18:52:37 +05:30
Shivam Mishra
c0d69a04c4 feat: added tests 2019-10-24 19:47:53 +05:30
Shivam Mishra
d93b060f22 refactor: improved for readability 2019-10-24 18:43:24 +05:30
Shivam Mishra
e1aa309b87 fix: do not append table names for mysql methods 2019-10-24 17:29:56 +05:30
Faris Ansari
f8507dec01
Merge pull request #8665 from adityahase/faster-desk-2
perf(desk): Faster desk
2019-10-23 23:28:18 +05:30
Aditya Hase
10bd8012ce
perf(orm): Use cached table_columns instead of querying the database 2019-10-23 23:00:02 +05:30
Himanshu Warekar
604b659353 fix: check for old and new names 2019-10-23 22:26:45 +05:30
Himanshu Warekar
31cef1ac5b fix: arguments not passed 2019-10-23 22:26:32 +05:30
Faris Ansari
3bd80c3cd3 fix: tests 2019-10-21 19:16:38 +05:30
mergify[bot]
19e8862be3
Merge pull request #8559 from gavindsouza/rename-form
feat: rename docname and title via header
2019-10-21 12:29:25 +00:00
Faris Ansari
83225791d8 fix: cleanup 2019-10-21 16:15:39 +05:30
mergify[bot]
e273ffeaf4
Merge pull request #8550 from rmehta/server-script
feat(server scripts): add server scripts!
2019-10-21 09:10:09 +00:00
Shivam Mishra
004ae86cd7 fix: remove bad disabled check 2019-10-15 19:28:53 +05:30
Gavin D'souza
12d1d5a649 fix: shifted tasks to server-side via frappe.call 2019-10-15 00:16:18 +05:30
Rushabh Mehta
6d6f575904 feat(server scripts): add server scripts! 2019-10-11 14:16:49 +05:30
deepeshgarg007
5787ea3c5a fix: Provision to ignore disabled link validations in a doctype 2019-10-09 13:02:53 +05:30
Suraj Shetty
86263e05f4 perf: Cache db columns to avoid redundant database calls (#8543)
* perf: Cache db columns to avoid redundant database calls

* fix: Move cache clearing code from doctype to schema.py

* fix: self.table_name instead of self.name

* fix: Cache columns in  "table_columns" key

`table_columns` was cached in meta but columns were also getting accessed
directly using frappe.db.get_table_columns. Now, it is cached at
`frappe.db` layer

Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2019-10-07 13:39:40 +00:00
Gavin D'souza
6c9adf95a3 fix: rename docname and title 2019-10-07 16:01:39 +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
c0a5ad1456 Merge branch 'develop' of https://github.com/frappe/frappe into global_tags 2019-10-03 12:30:53 +05:30
Bob Schulze
14222cb078 handle case that df is None for this branch too (#8529) 2019-10-03 06:17:34 +00:00
Himanshu Warekar
c01eadcac0 Merge branch 'develop' of https://github.com/frappe/frappe into global_tags 2019-09-30 13:59:28 +05:30
Faris Ansari
fbfa078147 fix: as_dict
- convert_dates_to_str should work for non df fields
2019-09-29 22:41:29 +05:30
marination
56bdbaadc6 fix: (User Permissions) Allow user to fetch details into mapped doc
Check if apply strict user permissions is enabled
Accordingly restrict user permission
2019-09-27 15:57:08 +05:30
Himanshu Warekar
c7b4df919e Merge branch 'develop' of https://github.com/frappe/frappe into global_tags 2019-09-25 22:16:16 +05:30
mergify[bot]
c0844f2297
Merge pull request #8479 from surajshetty3416/energy-points-based-on-assignments
feat: Energy Points for assigned users on a document
2019-09-24 06:03:07 +00:00
gavin
436d35668d fix: dont check for disabled in case of import/migrate (#8482) 2019-09-24 10:10:49 +05:30
Suraj Shetty
29bcdf1fa3 style: Fix indentation 2019-09-24 09:46:20 +05:30
Suraj Shetty
6ea039277f Merge branch 'develop' of https://github.com/frappe/frappe into energy-points-based-on-assignments 2019-09-24 09:42:53 +05:30
Himanshu Warekar
f6d1ce2194 feat: Global Tags 2019-09-24 01:03:11 +05:30
deepeshgarg007
d3e7c54245 fix: Validation for disabled link fields 2019-09-22 13:50:58 +05:30