Commit graph

26897 commits

Author SHA1 Message Date
Suraj Shetty
4ecc9d95fe fix: Background color of table multiselect input 2020-07-21 12:22:48 +05:30
Suraj Shetty
75a7948f35 fix: Review style 2 2020-07-21 12:20:55 +05:30
Suraj Shetty
8aeb623984 fix: Review style 2020-07-21 12:20:02 +05:30
Suraj Shetty
b999e62cb0 fix: Make data pill a button 2020-07-21 12:19:45 +05:30
Suraj Shetty
45954fa637 fix: Apply card style only in main form 2020-07-21 12:18:36 +05:30
Shivam Mishra
9b6d086e85 feat: add shadow and sidebar select to variables 2020-07-20 20:46:47 +05:30
Shivam Mishra
49a11bc2ab feat: update variables for desktop 2020-07-20 20:46:31 +05:30
Shivam Mishra
5a6369e5d3 feat: add 2xl spacing 2020-07-20 20:46:12 +05:30
Shivam Mishra
d1966fd08f feat: separate flex mixin 2020-07-20 20:45:58 +05:30
Shivam Mishra
fed54ae777 feat: update variables for toast 2020-07-20 18:24:27 +05:30
Shivam Mishra
9003ae238e refactor: dark mode variables for layouts
* desktop
* icons
* indicator
* navbar
* toasts
2020-07-20 17:56:40 +05:30
Suraj Shetty
e0e43201ab refactor: Variables
- Use css variables instead of bootstrap vars
- Move typography styles to a separate file
- Introduce dark theme (alpha)
- Remove redundant greys
2020-07-20 12:17:56 +05:30
Suraj Shetty
6b35c18e10 fix: Remove left out extra brace 2020-07-20 01:02:48 +05:30
Suraj Shetty
7ff1c421cd fix: get_desk_sidebar_items method 2020-07-18 17:23:40 +05:30
Suraj Shetty
886cc8913c Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2020-07-18 17:15:36 +05:30
Suraj Shetty
9979bd0251 Merge branch 'rebrand-ui' of https://github.com/frappe/frappe into rebrand-ui 2020-07-18 12:43:20 +05:30
Suraj Shetty
1fc6b860fc feat: Card Layout
- Form sections will now be cards
2020-07-18 12:42:54 +05:30
mergify[bot]
27db6b9a23
Merge pull request #11022 from prssanna/number-card-types
feat: Custom and Report type Number Card
2020-07-17 14:17:54 +00:00
prssanna
6bc31f1d6a style: formatting fixes 2020-07-17 18:37:30 +05:30
prssanna
b32a47ec58 refactor: set get_number method in settings 2020-07-17 18:29:29 +05:30
prssanna
3551fecd74 fix: update description of method field 2020-07-17 18:13:18 +05:30
prssanna
c4a8852a68 fix: handle result of custom cards 2020-07-17 18:12:44 +05:30
prssanna
8c93d91c5a fix: better variable name 2020-07-17 15:27:07 +05:30
prssanna
e52341f3d6 fix: toggle card button if report has data 2020-07-17 15:19:13 +05:30
prssanna
ea8d2653ae fix: move filter styles outside popover 2020-07-17 15:07:49 +05:30
prssanna
f9a44f1c94 feat: don't render filter template on popover if no filter button is provided 2020-07-17 15:07:25 +05:30
prssanna
22a6eb5bde Merge branch 'rebrand-ui' of https://github.com/frappe/frappe into rebrand-ui 2020-07-17 15:01:18 +05:30
prssanna
6ec70fc2f5 fix: remove unused code in list_sidebar.js 2020-07-17 15:00:57 +05:30
prssanna
0a447adf53 fix: margin for tag pills in list 2020-07-17 15:00:09 +05:30
prssanna
3c46102908 fix: wrap tag list result with a class 2020-07-17 14:59:09 +05:30
prssanna
e283f60506 refactor: refactor tags code in list sidebar 2020-07-17 14:58:23 +05:30
prssanna
dff4172cdb fix: remove unused tags code in list_view.js 2020-07-17 14:57:02 +05:30
prssanna
b3b25594ad feat: tag pill style 2020-07-17 14:55:57 +05:30
prssanna
3f783dab73 refactor: add tags column to list view 2020-07-17 14:55:37 +05:30
Aditya Hase
e3c707c2cf
Merge pull request #11035 from adityahase/samesite-lax
fix: Use SameSite=Lax instead of SameSite=Strict
2020-07-17 13:48:44 +05:30
Aditya Hase
654950fef3
fix: Use SameSite=Lax instead of SameSite=Strict
Reference: https://web.dev/samesite-cookies-explained/

Scenario:
A user is logged in on a frappe instance. (with, say, sid=abcd)

In an OAuth like flow, a third party site, say, GitHub redirects the user to the frappe instance.

Now because SameSite=Strict is set, the browser can't send the cookies it has (sid=abcd) to the frappe server.

Once the frappe server receives this request without cookies, It assumes that this is an unauthenticated user, and sets cookies in response as sid=Guest.
Reference: f3e14b4ac7/frappe/sessions.py (L178)

Once the browser receives these values in response (sid=Guest) it overwrites the existing cookie values(sid=abcd) and sets sid=Guest,

This effectively causes the user session to be terminated.
2020-07-17 13:14:44 +05:30
sahil28297
f3e14b4ac7
Merge pull request #11032 from Thunderbottom/rm-example-email-notify
fix: remove example users email ids from notifications
2020-07-17 12:36:02 +05:30
Chinmay D. Pai
f12ed9791a
fix: remove example users email ids from notifications
currently the system tries sending emails to all users that have
'thread_notify' enabled, including the default example emails that the
Administrator and Guest accounts have. this patch disables email
notifications for these accounts, and additionally tries to disable it
for any other user accounts with example emails

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-07-17 11:32:02 +05:30
mergify[bot]
34b529f581
Merge pull request #11023 from marination/workflow-state-field
fix: Made Workflow State Field Mandatory
2020-07-16 16:34:00 +00:00
mergify[bot]
23a2f52e89
Merge pull request #11009 from netchampfaris/fix-blog-md-content
fix: Markdown content in Blog Post
2020-07-16 16:29:16 +00:00
mergify[bot]
1aa2d6d97f
Merge pull request #10910 from Thunderbottom/printview-xss
fix: escape unwanted tags before displaying printview
2020-07-16 16:29:09 +00:00
Suraj Shetty
b03035daae
Merge branch 'develop' into printview-xss 2020-07-16 18:02:37 +05:30
mergify[bot]
dfb073e007
Merge pull request #11021 from rohitwaghchaure/fixed-route-issue-if-autoname-is-prompt
fix: Edit in full page broken link
2020-07-16 12:25:29 +00:00
Suraj Shetty
80fb256421
style: Add space after if 2020-07-16 17:41:37 +05:30
Suraj Shetty
4cdaedcbad
style: Add space after if 2020-07-16 17:38:34 +05:30
Faris Ansari
434c892ac0
feat: Bench command to open ngrok tunnel (#11024)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-07-16 17:05:08 +05:30
Rohit Waghchaure
79e3f88a65 fix: Edit in full page broken link 2020-07-16 15:34:59 +05:30
marination
92a778c44a fix: Made Workflow State Field Mandatory 2020-07-16 14:03:11 +05:30
prssanna
8304f1fa83 style: formatting fixes 2020-07-16 14:00:02 +05:30
prssanna
75e15cbbe9 fix: don't export go_to_list_with_filters 2020-07-16 13:50:41 +05:30