Commit graph

714 commits

Author SHA1 Message Date
Sumit Bhanushali
984b2d8b23 fix: dont fetch context for custom doctype based on custom module 2024-09-16 20:41:37 +05:30
Akhil Narang
182dc7213d
fix(printview): ensure document title is a string
Nothing is stopping people from setting non-string types as their title

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-09-12 13:34:59 +05:30
Shariq Ansari
f2e8f05558 fix: redirect to /app if no apps are installed 2024-08-30 16:23:24 +05:30
Shariq Ansari
a7543a5b24 fix: consider default path for Website User if applicable 2024-08-30 15:42:58 +05:30
Shariq Ansari
ad077644c5 fix: changed default check icon 2024-08-30 15:42:58 +05:30
Shariq Ansari
c4a8d112d8 chore: apps title 2024-08-16 14:43:23 +05:30
Shariq Ansari
0d6ecfbd22 fix: redirect to /login if logged out from apps page 2024-08-16 14:22:51 +05:30
Rushabh Mehta
1068256620 fix(minor): serve fingerprint.js locally 2024-08-14 17:20:28 +05:30
Shariq Ansari
03986075d2 fix: login page route fix 2024-08-13 12:40:08 +05:30
Shariq Ansari
e0ed704bc2 chore: minor style fixes 2024-08-12 22:13:56 +05:30
Shariq Ansari
5097a454cd fix: if no apps installed redirect to desk 2024-08-12 17:35:55 +05:30
Shariq Ansari
5ec4001340 feat: set app as default from apps page 2024-08-12 17:06:56 +05:30
Shariq Ansari
b8263aaf55 fix: redesigned the apps page 2024-08-12 16:23:14 +05:30
Shariq Ansari
0f0cf07ff5 fix: added include_as_app in hooks which is used to show app on apps page 2024-08-12 14:20:49 +05:30
Shariq Ansari
b3694b34cf refactor: common api to get apps with details 2024-08-09 12:16:10 +05:30
Shariq Ansari
3f5d6d2c7f feat: added default app selector in user doctype 2024-08-08 19:54:02 +05:30
Shariq Ansari
b8328c43c2 fix: do not allow guest or website user to access apps page 2024-08-08 18:29:16 +05:30
Shariq Ansari
9c03bcce5b fix: redirect to default path on login 2024-08-08 18:29:16 +05:30
Shariq Ansari
d7b217b384
Merge branch 'develop' into app-switcher 2024-08-08 18:27:19 +05:30
Raffael Meyer
0b47a255c2
fix: split attribution text into multiple lines (#27343) 2024-08-08 10:33:37 +00:00
Shariq Ansari
69bb43ab13 feat: Apps page 2024-08-02 20:10:57 +05:30
David
e2517d11e8
chore: add include_icons jinja global 2024-06-11 20:03:15 +02:00
gavin
ea6a47df94
fix: Redirect to Login Page if not signed In (#26506)
Redirect to Login page if User is not logged in already. Upon successful login, redirect to the page they intended to see.

This is a common pattern for opening tabs to previous sessions where Users get logged out and are shown the "Log in to access this page." message instead.
2024-05-22 15:49:59 +05:30
Ernesto Ruiz
5ee0cac068
chore: Add translation functio to Email link text in Update login.html (#26472)
chore: Add translation functio to Email link text in Update login.html
2024-05-20 10:49:05 +05:30
Ankush Menat
65b3c42635
fix: only redirect to same domain (#26304)
This limits post login redirects to same domain to avoid social engineering attempts.
2024-05-02 18:02:18 +05:30
Ankush Menat
16d74c1db4
fix: auto filter publish field (#26151)
closes https://github.com/frappe/frappe/issues/25581
2024-04-24 14:39:53 +00:00
Rutwik Hiwalkar
a73e65581d
fix: disabled user login from login via link feature (#26134)
* fix(ui): button color for login via link template

- blue > black

* fix: restrict login via link for disabled users

* fix: validate user on session.resume
2024-04-24 15:49:17 +05:30
Corentin Flr
2f38e7968c
fix(attribution): Truncate text, hide deps if there are none (#25999) 2024-04-22 11:44:57 +00:00
barredterra
43a991ecc5 fix: limit attribution page to system users 2024-04-06 20:23:56 +02:00
barredterra
1dbc1aafa4 style: format with ruff 2024-04-02 22:22:05 +02:00
barredterra
7e12238511 Merge remote-tracking branch 'upstream/develop' into attribution-page 2024-04-02 22:20:42 +02:00
barredterra
41a28e7381 fix: load crowdin script using https 2024-03-27 13:15:53 +01:00
barredterra
90610a7e8e feat: In-Context Translation 2024-03-27 12:53:15 +01:00
Ankush Menat
071e269548 fix!: Switch to creation as default sort order 2024-03-27 11:18:28 +05:30
barredterra
f40fa6ec73 style: newlines that don't trigger semgrep 2024-03-22 17:54:22 +01:00
barredterra
457f5bf437 fix(Contact form): translate internal notification to system language 2024-03-22 17:45:10 +01:00
barredterra
b440eab24f fix(Contact form): make title and options translatable 2024-03-22 17:44:37 +01:00
barredterra
bcdce09dba fix(Contact form): make email translatable 2024-03-22 17:28:15 +01:00
Akhil Narang
766d2ae778
feat: allow setting a custom rate limit for login via email link feature
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-22 15:50:45 +05:30
barredterra
68ad59721c Merge branch 'develop' into attribution-page 2024-03-20 15:16:58 +01:00
Ankush Menat
571ca34eca
fix: redirect after login, todo filters (#25521)
* Revert "fix: default filter setup on todo list (#25455)"

This reverts commit 396bc4102e.

* Revert "Revert "fix: default filter setup on todo list (#25455)""

This reverts commit 5e6b6997d526446760c42e7e812ceef5fe416492.

* test: wait longer for filters to apply

* fix: route redirects after login

* test: use clear_filters

* fix: don't set default filters on ToDo

This messes with previous filters logic.
2024-03-20 17:02:24 +05:30
Maharshi Patel
ce2d91c751
feat: hook for print format template loader (#25037)
* feat: hook for print format template loader

currently logic for how print format template should be loaded is hardcoded
added hook to allow for custom logic to be implemented by other apps.

if hook returns falsy value, then default logic will be used.

* chore: use Walrus Operator and handle Empty Hooks
2024-02-26 20:20:25 +05:30
Akhil Narang
3f1e19de85
refactor(treewide): enable RUF rules
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-21 16:20:28 +05:30
Ankush Menat
78264a7f16 fix(UX): usability of reset password page
- password managers use paste, added that event to trigger our code
- if no password policy then skip. Way too much needless business logic in HTML here.
2024-02-11 16:30:32 +05:30
Ankush Menat
72c2207e0f refactor: useless use of dict in frappe.get_doc 2024-02-10 12:52:38 +05:30
Akhil Narang
26ae0f3460
fix: ruff fixes
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-07 17:04:31 +05:30
Ankush Menat
de9ac89748 style: re-format with ruff 2024-02-05 18:53:33 +05:30
Suraj Shetty
2243c5ebe3 fix: Resolve conflicts 2024-02-05 15:51:22 +05:30
Suraj Shetty
2bf82e80ba fix: Make sure sitemap respects robot_txt 2024-02-05 15:41:05 +05:30
David Arnold
c09f48f5d7
feat: comply trackers with utm and add utm_content for a/b testing (#24521)
* feat: comply trackers with utm and add utm_content for a/b testing

* fix: make all other than source optional

this is plausible.io best practice

* fix: medium is not specified to be lowercase

* fix: ensure proper parameter quoting
2024-02-02 11:33:22 +05:30