Commit graph

213 commits

Author SHA1 Message Date
Shivam Mishra
1b525f0f86 chore: linting fixes 2020-08-06 19:47:46 +05:30
Shivam Mishra
a18b81e39d chore: linting fixes 2020-08-06 19:47:46 +05:30
Shivam Mishra
7b6463c40e feat: add keyboard navigation to search dropdown 2020-08-06 19:47:46 +05:30
Shivam Mishra
bc8e23ca15 fix: update shortcut for search 2020-08-06 19:47:46 +05:30
Shivam Mishra
9b06881702 chore: remove log/print statements 2020-08-06 19:47:46 +05:30
Shivam Mishra
b2100279d6 feat: update code for new search 2020-08-06 19:47:46 +05:30
Shivam Mishra
16a2ef78ff style: add missing semicolon 2020-08-06 19:47:46 +05:30
Shivam Mishra
d5d3277013 feat: move search portable 2020-08-06 19:47:46 +05:30
Chinmay D. Pai
a29fab70ac
chore: improve logic for checking logged in user
frappe.session.user sometimes gets set after the function runs, so
current implementation would return undefined !== "Guest" as True,
causing Guest user to be set as a logged-in user.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-06-18 23:14:19 +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
Shivam Mishra
e5a87aa421
style: remove stray console.log (#10722) 2020-06-17 19:37:30 +05:30
Shivam Mishra
4c6b58da26
fix: update condition that stringified everything (#10718) 2020-06-17 14:36:47 +05:30
Shivam Mishra
595f37bf10 style: space after if 2020-06-17 11:33:16 +05:30
Shivam Mishra
3ec76fb7e0 fix: stringify objects before sending 2020-06-16 21:46:22 +05:30
Faris Ansari
c0e94e7e38 fix: Add anchored headings only on doc content 2020-06-08 19:05:18 +05:30
Faris Ansari
de4c94d879 fix: Add scope filter in docs
- Focus searchbar with / key is pressed
- No need to stringify args for $.ajax
2020-06-05 15:38:21 +05:30
Faris Ansari
622667e130 feat: Doc page layout
- 3 Columns layout with Sidebar, Main and TOC
- Night owl hljs theme
- Sidebar with groups
2020-05-24 07:38:10 +05:30
Kasper Oikarinen
ca3609328a Add frappe cmd to request headers in website for analytics 2020-04-11 15:43:09 +02:00
Saurabh
aa9e4fc056 fix: regex to validate email id (#9323) 2020-01-20 19:04:37 +05:30
mergify[bot]
46cdc4cdc2
Merge pull request #8834 from scmmishra/fix-throw-message
fix: layout & api for message print
2019-11-18 14:41:13 +00:00
Shivam Mishra
93e0d33172 fix: allow setting message title from server 2019-11-18 13:10:16 +05:30
Gavin D'souza
767ff4f9f0 fix: making chat resources async available 2019-11-12 10:45:49 +05:30
Faris Ansari
4a66d5284e
Merge pull request #7408 from scmmishra/web-form-refactor
Web Form Refactor
2019-06-25 18:52:09 +05:30
Nabin Hait
b375ee9eef fix: merge conflict 2019-06-18 18:45:21 +05:30
Kenneth Sequeira
ba88347112
remove redundant expression 2019-06-13 19:38:12 +05:30
Kenneth Sequeira
6cc0a7ab48
remove redundant expression 2019-06-13 19:37:01 +05:30
Kenneth Sequeira
1bbdc423c1 fix email validation for contact page 2019-06-13 18:14:02 +05:30
Kenneth Sequeira
8ebc422954 fix email validation for contact page 2019-06-13 18:03:49 +05:30
Shivam Mishra
5ff3c96396 chore: removed old webform scripts 2019-05-24 10:07:24 +05:30
Shivam Mishra
032b0dc7ba fix: Modal UI 2019-05-09 12:20:26 +05:30
Frappe Bot
94ea028db3 Merge branch 'master' into develop 2019-03-08 09:38:18 +00:00
Suraj Shetty
b230b83590 fix: frappe.require style import 2019-03-07 11:04:10 +05:30
Suraj Shetty
ef0eb75aa7 feat: refactor frappe.require(website version) to add multiple
script import
2019-03-07 10:09:13 +05:30
scmmishra
a6a4d3c112 style: Fix Codacy 2019-03-06 14:59:23 +05:30
scmmishra
d97352c7ad fix (webform): Fixed filters in web_from frid view 2019-03-06 14:45:41 +05:30
scmmishra
fa4f88db07 fix (web form): Fixed link to doc form in form grid 2019-03-06 14:45:41 +05:30
Suraj Shetty
1b1bea7b6d
chore: fix minor formatting 2019-03-04 12:09:25 +05:30
Anurag Mishra
c9aef2bfe9 fix: typo 2019-03-04 11:46:30 +05:30
Anurag Mishra
41ff8885e3 fix: web form will show footer save button only if form is greater than window height 2019-02-27 17:14:07 +05:30
Faris Ansari
962787a2fb fix: Handle broken images with only CSS
- Remove JS handler for 404 images
2019-02-21 12:42:07 +05:30
Faris Ansari
f3a03850df refactor: Website image classes 2019-02-21 11:18:52 +05:30
Faris Ansari
5a96fc70de Merge branch 'develop' of https://github.com/frappe/frappe into website-bootstrap-4 2019-02-20 19:25:25 +05:30
Faris Ansari
41a4ba45da fix: Handle broken images 2019-02-20 19:01:51 +05:30
Faris Ansari
182729abd4 style: Fix lint errors 2019-02-16 19:38:22 +05:30
Faris Ansari
e941c90898 feat: Lazy load images only when they are in viewport 2019-02-13 23:09:38 +05:30
Rushabh Mehta
65d2167551 feat: various fixes to Web Form and content type selection for Web Page and Blog Post 2019-02-06 15:50:57 +05:30
Sagar Vora
89efa968d8 Merge branch 'master' into develop 2019-02-05 18:39:43 +05:30
Faris Ansari
a4bc19a2a1 style: ESLint 2019-02-02 21:21:21 +05:30
Aditya Hase
57196a8bbe fix(website): Enable socketio on website (for file upload) (#6866) 2019-01-31 13:54:42 +05:30
Faris Ansari
9c33f3a47f fix: Full width form layout 2019-01-26 12:53:42 +05:30