Commit graph

149 commits

Author SHA1 Message Date
Aditya Hase
b0456503f2
perf: Remove frappe.utils.background_job from import tree 2021-02-21 09:42:04 +05:30
Aditya Hase
2413f7e6ec
perf: Replace markdown2.UnicodeWithAttrs with frappe.utils.UnicodeWithAttrs 2021-02-21 09:41:10 +05:30
Rushabh Mehta
c873c36971 feat(minor): add before_commit methods 2020-12-17 18:46:06 +05:30
everyx
f71a8e0afc fix: PRIMARY KEY must be NOT NULL error when install with MySQL 5.7+ 2020-11-24 14:36:53 +08:00
Gavin D'souza
3b5ec6aa88 fix: Sider + improper command ending 2020-11-17 12:45:55 +05:30
Gavin D'souza
c4e57926f9 feat(postgres): Show restore progress if pv is available 2020-11-17 12:33:21 +05:30
Gavin D'souza
142b6009fe fix: Better error message on missing table 2020-11-10 10:49:40 +05:30
Gavin D'souza
e8fdaa195b refactor: PostgreSQL module methods correspond to MariaDB
* Added bootstrap_database, import_db_from_sql function APIs similar
to MariaDB implementations
2020-11-09 18:55:29 +05:30
Gavin D'souza
b371c70053 refactor: Meaningful variable names 2020-11-09 18:54:47 +05:30
Gavin D'souza
7b1fa59a29 feat: Restore partial backups via bench partial-restore 2020-11-09 18:51:33 +05:30
Rushabh Mehta
1df7831d67 fix(minor): postgres/database.py error handling for missing table 2020-10-26 12:24:11 +05:30
Rushabh Mehta
8707ed1f27 fix(minor): remove "Custom Link" and add patch 2020-10-26 10:02:04 +05:30
Rushabh Mehta
7f9284f3ef fix(tests): postgres gotcha, errors will rollback? 2020-10-26 10:02:04 +05:30
Rushabh Mehta
a0a3606a7f fix(tests): add test cases for custom_link and custom_action 2020-10-26 10:02:04 +05:30
Rushabh Mehta
8a198f363b fix(default): cast as string as required 2020-10-26 10:02:04 +05:30
Suraj Shetty
d546a84659
refactor: Make code more readable 2020-10-18 11:47:28 +05:30
Sebastien Braun
cbf815f25b fix: use configured postgres port in setup_db 2020-10-17 08:08:44 +02:00
Rushabh Mehta
38e024ebbb
Merge pull request #11306 from rmehta/system-console
feat(system console): Added a System Console to help in debugging and Console Log
2020-09-03 11:12:23 +05:30
Rushabh Mehta
5e4ee1a6bc fix(minor): quote the column names in alter table 2020-08-31 11:29:18 +05:30
Rushabh Mehta
1b73602a17 feat(system console): Added a System Console to help in debugging and Console Log 2020-08-31 11:29:18 +05:30
Gavin D'souza
a7af5d0a09 fix: Re-connect to database in case connection is closed 2020-08-19 15:45:10 +05:30
Rushabh Mehta
0192bcf45f fix(minor): frappe.db.set_value to allow multiple values 2020-08-17 22:19:44 +05:30
Rushabh Mehta
56853a0533 fix(linting): sider 2020-08-17 11:10:48 +05:30
Rushabh Mehta
b71acfd5fa fix(minor): print query and values directly if mogrify fails 2020-08-17 10:45:58 +05:30
Rushabh Mehta
b09beb9147 fix(tests): cleanup 2020-08-17 09:41:54 +05:30
Rushabh Mehta
aad2375cf3 fix(major): make document events more efficient, fix bug in cache_manager.get_doctype_map 2020-08-17 09:41:54 +05:30
Rushabh Mehta
26a9230fdd fix(tests): more debugging 2020-08-17 09:41:54 +05:30
Rushabh Mehta
e262ef6add fix(minor): logging fix in document.py 2020-08-17 09:41:54 +05:30
Rushabh Mehta
ef1d1b0dc4 fix(minor): typo 2020-08-17 09:41:54 +05:30
Rushabh Mehta
c83a9a142b fix(minor): mogrify 2020-08-17 09:41:54 +05:30
Rushabh Mehta
eba6dfa12a fix(major): frappe.db.set_value will lock the row 2020-08-17 09:41:54 +05:30
Rushabh Mehta
e421bc19f6 fix(major): frappe.db.set_value will lock the row 2020-08-17 09:41:54 +05:30
Rushabh Mehta
4d97635ab4 fix(major): frappe.db.set_value will lock the row 2020-08-17 09:41:54 +05:30
Rushabh Mehta
14d9c28eb7 fix(test): try with print_sql 2020-08-17 09:41:54 +05:30
Raffael Meyer
0bfba240cf
feat: allow long passwords (#11065)
Co-authored-by: Chinmay Pai <chinmaydpai@gmail.com>
2020-08-12 16:09:59 +05:30
Afshan
974f00c771 fix: showing a clear message to user about error 2020-07-07 12:45:46 +05:30
Felipe Orellana
57a1bb5904 fix: Adds LOCK TABLES grant for RDS version of grant_all_privileges 2020-06-30 13:59:33 +05:30
Revant Nandgaonkar
1bfa56cd0c feat: backup and restore postgres site 2020-06-27 16:01:30 +05:30
Rucha Mahabal
a0054f99b2 fix: add duration options to sql files 2020-06-02 22:12:24 +05:30
Rucha Mahabal
b70321cc50 Merge branch 'develop' into duration-control 2020-05-15 20:07:16 +05:30
Nabin Hait
76db5e11c8 feat: Section Break without border 2020-05-15 10:11:58 +05:30
Rucha Mahabal
ba5b4406ce fix: conflicts 2020-05-08 00:03:35 +05:30
Rucha Mahabal
972833d13f fix: change duration fieldtype to decimal 2020-05-06 12:36:22 +05:30
Rucha Mahabal
58b90e72f3 feat: duration control 2020-05-04 13:20:27 +05:30
Suraj Shetty
ed105eb001 fix: Clear db_tables cache whenever a table is created or dropped 2020-04-30 14:16:29 +05:30
Chinmay D. Pai
2f821f9c2d
chore: fix deepsource issues
* use set comprehension instead of generator
* remove redundant else statement

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-04-29 21:58:00 +05:30
Suraj Shetty
a73be732fd
refactor: Fix redundant cache value set 2020-04-29 16:43:01 +05:30
Suraj Shetty
bf3a80f05d fix: Directly used set comprehension
As indicated by deepsource
2020-04-29 14:39:14 +05:30
Suraj Shetty
651109bb00 fix: Translatable string 2020-04-29 14:07:51 +05:30
Suraj Shetty
031aad0d85 perf: Cache get_tables values
- To avoid redundant db calls
2020-04-29 12:28:08 +05:30