Commit graph

610 commits

Author SHA1 Message Date
Ankush Menat
fa6dc03cc8
refactor: frappe.cache() usage to frappe.cache (#21282) 2023-06-08 11:47:17 +05:30
Ankush Menat
1eabd21bb8
chore!: remove mixpanel code (#21112) 2023-05-25 17:10:43 +05:30
Manduul. B
de490fc1f7
fix: Consistent buttons on login / error pages (#21037) 2023-05-17 11:27:09 +05:30
Shariq Ansari
8759a7b41c
fix: message.py executing script (#20887) 2023-05-04 17:33:10 +05:30
Maharshi Patel
1bae6a2b0b
feat: hooks added for print formats / pdf. (#20734) 2023-04-17 19:03:53 +05:30
phot0n
cbe0ce37d3 fix: suppress outgoing email error for contact-us page 2023-04-04 12:59:00 +05:30
phot0n
1cb5bfe875 fix: remove methods arg from tate_limit decorator
* feat(minor): send a copy of message to the sender/contactee
* feat: validate sender email address for contact us page
2023-04-04 12:32:03 +05:30
phot0n
67de2a34ac fix: contact us email reply 2023-04-04 12:32:03 +05:30
Sagar Vora
a56ea73b7d fix: escape HTML instead of sanitizing 2023-03-30 06:27:07 +00:00
Suraj Shetty
c9e12edb42 feat: Add campaign and medium to web page view 2023-03-20 23:41:18 +05:30
Suraj Shetty
09ea38e96f fix: Set link title in PDF
Co-authored-by: Saqib Ansari <nextchamp.saqib@gmail.com>
2023-03-15 14:14:41 +05:30
Ankush Menat
90be13e7ee
fix: dont respond to login api call if email login is disabled (#20311) 2023-03-13 11:06:15 +05:30
Suraj Shetty
7abdad3282 Merge branch 'develop' of https://github.com/frappe/frappe into newsletter-analytics 2023-02-28 14:31:03 +05:30
Suraj Shetty
6c8f88b8cd refactor: Remove UTM references just set source in web page view to simplify things 2023-02-28 14:17:16 +05:30
Suraj Shetty
afd55a97fb fix: Web page view creation
- Set path from backend via "Referer" to avoid bad data
- Add visitor_id to improve unique visit detection
2023-02-28 14:15:41 +05:30
Suraj Shetty
7d5c98c206 feat: Add UTM tracking parameters to internal links in newsletters
- Also, extend web page view to store UTM tracking data.
2023-02-23 16:19:07 +05:30
Ankush Menat
8409caef6f fix: show proper error with traceback when boot fails 2023-02-20 18:33:49 +05:30
Raffael Meyer
8130153ce6
fix: quote provider name (#19604)
* fix: quote provider name

* fix: escape icon in get_icon_html
2023-02-13 14:34:35 +05:30
Shariq Ansari
1b4b6cce15 fix: Edit Profile link is not redirecting correctly 2023-01-18 10:30:40 +05:30
Ankush Menat
3f82839c53
fix: strength check on password control (#19561)
* fix: strength check on password control

* fix: no password strength verification on login
2023-01-11 13:13:17 +05:30
Raffael Meyer
ed30a6d59f
refactor(minor): use DocStatus (#19545) 2023-01-10 17:38:11 +05:30
Ankush Menat
1eaca4e1d5
fix: RSS feed escaping (#19546)
if title contains reserved chars then malformed XML is generated.

Try title with ampersand in it.

[skip ci]
2023-01-10 11:45:31 +05:30
gavin
c26b401140
chore: Remove duplicated Oauth2 whitelisted APIs (#19465)
Maintain routes via the `override_whitelisted_methods` hook
2023-01-05 11:46:53 +05:30
gavin
804f0336e1
Merge branch 'develop' into typing-001 2023-01-03 14:29:33 +05:30
Ankush Menat
a43a0149eb refactor: improve test, rate limiting 2022-12-30 13:42:42 +05:30
Gavin D'souza
d13c377848 refactor: OAuth
* Added typing hints for Oauth APIs and dependant utils
* Simplify oauth core flows
* Remove long commented code
* Use newer, simpler syntax for better readability
2022-12-27 19:25:43 +05:30
Shariq Ansari
289aa9a13b test: test valid & invalid key 2022-12-21 14:43:10 +05:30
Shariq Ansari
8dad07949a chore: again renaming to Login with email link 2022-12-20 21:53:13 +05:30
Shariq Ansari
eb7293c1d2 fix: suggested changes and added passwordless_login_expiry option
rate limit, better description, redirect_post_login, removed subject
2022-12-20 18:21:22 +05:30
Shariq Ansari
83bf33c1fc fix: renamed login without password to passwordless login
made text translatable in email template
2022-12-20 16:14:46 +05:30
Shariq Ansari
68baa81f3f
fix: type checking
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2022-12-20 15:33:03 +05:30
Shariq Ansari
e43854c30b
Merge branch 'develop' into login-without-password 2022-12-20 14:29:58 +05:30
Shariq Ansari
60c29b6939 fix: removed logo implementation 2022-12-20 13:54:40 +05:30
Shariq Ansari
570442865b feat: Login without password (through link sent on email) 2022-12-20 13:00:23 +05:30
Gavin D'souza
06cf18d0aa chore: Add optional typing hints for params with default None 2022-12-15 13:47:05 +05:30
Gavin D'souza
cff0567faf fix(print): Check doc permission before checking related info 2022-12-15 13:47:05 +05:30
Gavin D'souza
d3250f6504 refactor(whitelisted): Add typing hints to APIs
* Refactor type checks defined in APIs
* Remove dead/deprecated kwargs usages
* Added appropriate hints to APIs and consecutive utils defined in the following modules:
 - frappe.realtime
 - frappe.translate
 - frappe.utils.global_search
 - frappe.www.third_party_apps
 - frappe.www.search
 - frappe.www.printview
2022-12-15 13:47:05 +05:30
Ankush Menat
494400ead2 style: fmt
[skip ci]
2022-12-13 12:07:04 +05:30
Babuuu
607b83de5c
fix: Change page title to app name. (#19247)
[skip ci]
2022-12-13 12:06:01 +05:30
Sagar Vora
8cc504709b fix: only accept string values for key 2022-11-23 23:00:48 +05:30
PeterG
8cbfc36f65
fix: update-password api call (#18943)
[skip ci]
2022-11-21 14:13:03 +05:30
Faris Ansari
5700cf7bef feat: Allow app_include_js and app_include_css via site config 2022-11-10 18:30:25 +05:30
Ankush Menat
3491d0dcb0
refactor: dynamically load web form module (#18486) 2022-10-23 11:20:17 +05:30
Ankush Menat
7a53a1dcd8 chore!: drop dead code related to mobile apps 2022-10-13 14:31:27 +05:30
Ankush Menat
3c58fff019
fix: correcrt import
ref: https://github.com/pallets/jinja/issues/1626
2022-10-12 22:04:42 +05:30
Nikhil Kothari
b974bed769
fix: signup link removed if user-pass disabled (#18135) 2022-09-14 19:53:53 +05:30
Ankush Menat
4ca3bf2d0b
fix: show portal sidebar on login (#18126) 2022-09-14 15:37:43 +05:30
Ankush Menat
98f7453b92 fix: don't show login link on login page again
Makes little sense.
2022-09-08 16:32:07 +05:30
Ankush Menat
5699eadcad
fix: show user/pass fields when LDAP is active (#18043) 2022-09-06 14:03:52 +05:30
Nikhil Kothari
89b2e5133f
feat: option to disable user pass based login (#18000)
* Added checkbox to disable pass login in settings

* Added user_pass disable option in Login page context

* Hide user-pass fields when option disabled

* Added check for social login key and LDAP

* feat: Disable API based usr-pwd login

* style: format with black

* refactor: simpify auth validation

No need for else clause

* refactor: fixup sys setting json and move field

* refactor: sys settings validation

* refactor: simpler imports

* chore: undo unintional changes

* test: add test for disabled user pass

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-09-06 13:48:00 +05:30