Suraj Shetty
b6cb0fc1e7
fix: Pass SQL string of lastupdate instead of normal string
...
- Normal string of pypika field has additional quotes
which creates a invalid query
- `get_sql` returns column name without additional quotes
2022-01-17 10:01:29 +05:30
Aradhya
1ff3a0d517
fix: fixed sider issues
2021-12-30 19:29:02 +05:30
Aradhya
a109034ea5
fix: frappe.db.escape in query generated by frappe.qb
2021-12-30 19:15:11 +05:30
Aradhya
08d94d991f
refactor: changed query in sessions
2021-11-23 15:49:16 +05:30
Aradhya
59f54aa60c
refactor: changed default_ordering to keep_default_ordering
2021-11-23 15:26:15 +05:30
Aradhya
50db6d5dd4
refactor: refactored query in sessions
2021-11-23 14:47:03 +05:30
Aradhya
9ccf467acb
fix: fixed no order arg in converted queries
2021-11-23 13:30:42 +05:30
Aradhya
d37aa55607
fix: fixed merged conflicts
2021-11-18 18:13:10 +05:30
Suraj Shetty
c422a72875
Merge branch 'develop' of https://github.com/frappe/frappe into sgtpepper9907-develop
2021-11-17 11:10:57 +05:30
Aradhya-Tripathi
09e7af70ab
refactor: converted raw queries
2021-11-16 15:12:58 +05:30
Faris Ansari
179960d67f
Merge pull request #14134 from netchampfaris/print-format-builder-beta
...
feat: New Print Format Builder
2021-10-25 12:12:08 +05:30
mergify[bot]
8cbbda7ab7
Merge pull request #14441 from Aradhya-Tripathi/query-conversion
...
refactor: replacing raw SQL queries with frappe ORM
2021-10-22 09:00:42 +00:00
Aradhya-Tripathi
0410a88aea
refactor: replaced sql_list
2021-10-22 13:31:36 +05:30
Aradhya-Tripathi
012edfe090
refactor: made style changes & fixed query conversions
2021-10-22 01:15:46 +05:30
Faris Ansari
5345d4ce7b
Merge branch 'develop' of https://github.com/frappe/frappe into print-format-builder-beta
2021-10-20 18:40:18 +05:30
Sagar Vora
c560d67a57
fix: remove/update older whitelist calls
2021-10-18 16:47:11 +05:30
Aradhya-Tripathi
4ed10de918
fix: fixed sider issues
2021-10-14 23:35:52 +05:30
Aradhya-Tripathi
f5a5f97593
refactor: converted quries in sessions.py
2021-10-14 14:32:55 +05:30
Aradhya-Tripathi
7315076038
refactor: converted queries
2021-10-13 14:06:34 +05:30
Faris Ansari
f58254db78
fix: poor man's hot reload
2021-09-06 16:57:14 +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
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
Gavin D'souza
a02848849d
Merge branch 'develop' of github.com:frappe/frappe into at-queries
2021-07-28 16:00:46 +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
eb7e95ae26
refactor: using frappe orm
2021-07-21 19:19:06 +05:30
Gavin D'souza
42b3c17800
Revert "BREAKING CHANGE: Drop frappe.lang in favour of frappe.local.lang"
...
This reverts commit e00aaf8cc4 .
---
This was pretty much a pointless change since frappe.lang just proxies
to frappe.local.lang
2021-07-15 16:02:44 +05:30
Gavin D'souza
f54894b1e7
chore: Update copyright year info in file header
2021-07-15 01:12:13 +05:30
Gavin D'souza
e00aaf8cc4
BREAKING CHANGE: Drop frappe.lang in favour of frappe.local.lang
2021-07-14 19:30:01 +05:30
Suraj Shetty
2d8c6c1710
Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website
2021-06-03 11:43:28 +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
Suraj Shetty
68e2dfa499
Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website
2021-05-20 12:57:23 +05:30
j
746c55624b
Fix: session clearing query on postgres
...
`user` is a postgres keyword. To avoid conflict,
use table_name.user
2021-05-19 09:49:27 +05:30
Suraj Shetty
51a072bbf8
Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website
2021-05-18 17:02:44 +05:30
Faris Ansari
355a9e7e7b
fix: Use safe_eval instead eval
2021-05-18 13:42:14 +05:30
Faris Ansari
4c64f04b88
fix: Support for bundled asset in frappe.require
2021-04-29 13:57:16 +05:30
Suraj Shetty
87fa672250
style: Resolve code correctness warning
2021-04-28 15:03:14 +05:30
Suraj Shetty
3209cd5c09
Merge branch 'develop' into refactor-website
2021-04-19 10:35:11 +05:30
leela
9200192c1c
refactor: Cleanup name confusion
...
Using `delete_session` name for a function and also as a method name is
confusing. Cleaned that up.
2021-03-30 20:59:00 +05:30
David Angulo
bfce0ca52f
feat: Add desk_theme to bootinfo
2021-03-25 19:45:23 -06:00
Suraj Shetty
f74b3916b6
Merge branch 'develop' into refactor-website
2021-03-10 11:03:14 +05:30
Aditya Hase
482543a326
perf: Remove frappe.utils.change_log from import tree
2021-02-19 21:14:45 +05:30
Rushabh Mehta
4369b8c0dc
fix(rendering): add doctype generate pages
2021-02-15 09:54:13 +05:30
Rushabh Mehta
30a041646c
feat(guest-access): Allow Guest to view, edit allowed forms, making way remove web forms
2020-12-10 15:13:51 +05:30
Shivam Mishra
c89b6a7065
feat: added magic switcher
2020-07-27 19:08:01 +05:30
Chinmay D. Pai
a72f808897
fix: make cookies more secure
...
* add HTTPOnly to sid, so sid will no longer be accessible through
javascript.
* mark all cookies Secure by default over HTTPS.
* set SameSite to Strict for all cookies by default, preventing
cross-origin cookie access.
* remove redundant publish_realtime for setting csrf_token on the
client-side.
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-06-18 18:09:27 +05:30
Chinmay D. Pai
8383b9fc3a
fix: clear_sessions should by default include mobile
...
whenever password was changed, the system only logged out user for the
current device type; which is incorrect.
suppose if the user logs in through mobile and selects "logout all devices"
on password reset on desktop, the system would log the user out of all
desktop instances, leaving the mobile instance active.
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-05-06 14:21:44 +05:30
Rucha Mahabal
27245d14be
feat: onboarding wizard with configurable slides
2019-11-21 20:21:13 +05:30
prssanna
fc38664fe7
fix: formatting
2019-10-09 16:22:57 +05:30