Commit graph

134 commits

Author SHA1 Message Date
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
Himanshu Warekar
595979eb1f Merge branch 'develop' of https://github.com/frappe/frappe into custom_append_to 2020-03-27 11:16:41 +05:30
Suraj Shetty
1599fc0751 fix: Get latest meta while building table 2020-03-25 12:48:21 +05:30
Suraj Shetty
8f8e361766 style: Fix formatting issues 2020-03-21 17:45:39 +05:30
Suraj Shetty
c21e33b001 fix(postgres): Ignore type casting in default value
- return 'Daily' instead of "'Daily'::character varying"
2020-03-21 16:55:04 +05:30
Suraj Shetty
d495e9c3d4 fix: Use .get to fetch attribute value 2020-03-21 13:03:02 +05:30
Suraj Shetty
af7e040d1a refactor: Get doc fields directly from meta 2020-03-21 12:30:03 +05:30
prssanna
6ed6ab2907 fix: update db type map 2020-03-21 11:38:41 +05:30
prssanna
61270ba210 feat: change fieldtype in db with customize form 2020-03-21 11:38:41 +05:30
Suraj Shetty
8c9d55edca
Revert "feat: change fieldtype in db with customize form" 2020-03-19 13:25:54 +05:30
Dinuka Salwathura
e3dfb148e3
Change mysql host from localhost to 127.0.0.1
Having localhost makes mandatory to connect via mysqld.sock
changing host to 127.0.0.1 makes it to connect via tcp
2020-03-16 19:32:24 +05:30
Himanshu Warekar
bf555f8004 Merge branch 'develop' of https://github.com/frappe/frappe into custom_append_to 2020-03-13 19:37:21 +05:30
prssanna
7bb014ee9a fix: update db type map 2020-03-13 15:17:11 +05:30
prssanna
c5c9ae46e6 feat: change fieldtype in db with customize form 2020-03-13 15:17:11 +05:30
Chinmay D. Pai
ca7fc2c17d
chore: delete user on the unix socket as well
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-11 18:23:20 +05:30
Chinmay D. Pai
004ddacbf1
fix: do not set db_host to % and instead pass to setup_db
db_host != the hostname part after @, hmm. so instead we'll pass
no-mariadb-socket flag to setup_database where we'll drop and create
users with host set to the TCP/IP socket instead of the UNIX socket.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-06 13:02:26 +05:30