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
prssanna
6a81a9d7a7
fix: remove comments
2019-10-09 16:22:57 +05:30
prssanna
bae5049683
feat(Notifications): Add integrated notifications
2019-10-09 16:22:57 +05:30
Himanshu Warekar
4a70dc99fa
fix: check ip restriction before resume
2019-09-19 11:08:07 +05:30
deepeshgarg007
f5a983a70d
fix: Remove limits and usage info from frappe
2019-06-30 16:51:05 +05:30
Aditya Hase
71fc4cbd3a
fix: Trigger notifications after updating last_login, last_ip fields
...
Notifications for User doctype based on Value Change in last_ip,
last_login, last_active aren't triggered because of updates performed
through frappe.db.sql. This behavior is fixed by explicitly triggering
notifications.
2019-06-20 11:16:48 +05:30
Rushabh Mehta
6d32946f64
fix(minor): removed debug
2019-05-24 12:08:22 +05:30
Rushabh Mehta
d92606cea9
fix(sessions): handle separate ways of session expiry in postgres and mariadb
2019-05-24 09:09:46 +05:30
Rushabh Mehta
7107f335f2
fix(session): session expiry not querying correctly
2019-05-24 09:08:56 +05:30
Rushabh Mehta
0a14554a15
fix(session): session expiry not querying correctly
2019-05-24 09:08:56 +05:30
Rushabh Mehta
81fa64d4bc
refactor(form.js): remove very old API
2019-05-24 09:08:56 +05:30
Suraj Shetty
42b6faabe7
fix: Add quotes
2019-04-07 13:10:10 +05:30
Suraj Shetty
e3d0a84e64
Revert "fix: Update user activity using ORM"
...
This reverts commit b963868f61 .
2019-04-07 12:53:21 +05:30