Commit graph

171 commits

Author SHA1 Message Date
Shariq Ansari
2b549619a8 fix: handle loading of bundle css & js in website 2022-10-03 13:54:48 +05:30
Ankush Menat
5d4e1e66b8 refactor!: drop lazy loading utility
Browsers now natively support this with `lazy` attribute.
2022-08-09 18:15:14 +05:30
Ankush Menat
ce164d59e3 fix: limit allowed attributes for lazy images
Co-Authored-by: Sagar Vora <sagar@resilient.tech>
2022-08-09 17:59:45 +05:30
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +05:30
Rushabh Mehta
e034072bac fix(minor): linting in website.js 2022-03-24 09:21:34 +05:30
Rushabh Mehta
eddca47216 fix(minor): video styles 2022-03-24 09:21:34 +05:30
Rushabh Mehta
b66011de5a feat(website): added new templates to page builder and refactored typography to be more consistent 2022-03-24 09:21:34 +05:30
mergify[bot]
ba094e76d1
fix: Add xcall to Frappe's web bundle (backport #15146) (#15152)
Co-authored-by: Omar Younis <oimyounis@gmail.com>
2021-12-02 10:58:36 +05:30
codescientist703
e8c25cf0f3 fix: added socketio initialization 2021-11-09 15:09:12 +05:30
codescientist703
6232bfbd39 fix: remove unused assets 2021-11-09 14:33:28 +05:30
codescientist703
ed13182573 chore: Remove Chat Module 2021-11-09 13:44:57 +05:30
Suraj Shetty
31d5d81e31
revert: "chore: Remove chat module" (#14922) 2021-11-09 10:30:00 +05:30
codescientist703
f1893b1c7b chore: remove chat module references and settings 2021-10-11 15:29:31 +05:30
Faris Ansari
e72bb135e1 fix: Asset URLs
Helpers to get asset path
Python: frappe.utils.jinja_globals.bundled_asset
JS: frappe.assets.bundled_asset
2021-04-29 14:47:52 +05:30
Faris Ansari
34c6d099b1 fix: Update all /assets urls with new urls 2021-04-24 16:24:08 +05:30
Faris Ansari
c119f9ab3c fix: libs.bundle.js
- Separate file to import jquery and bootstrap
- Remove separate jquery bundle from app as well as web
- Load jquery from node_modules
2021-04-24 14:42:43 +05:30
Faris Ansari
226ad1d91a feat: New Build System based on esbuild
- Deprecate use of build.json
- *.bundle.js files placed anywhere in the public folder are bundled
- Built files are created in public/build folder which is gitignored

WIP
2021-04-22 07:01:36 +05:30
Rushabh Mehta
27ed3dd373 fix(minor): linting 2021-04-15 14:31:42 +05:30
Rushabh Mehta
6d20983eb2 fix(minor): Make language select optional and fix breakpoint issues in website 2021-04-15 14:15:40 +05:30
Faris Ansari
3c33393084 fix: Search icon in search bar 2021-03-26 14:42:54 +05:30
Shivam Mishra
a4f90e48fd feat: update avatar on website navbar 2020-11-19 13:18:25 +05:30
Faris Ansari
aa22287c72 fix(doc-search): Ignore keypress on input elements 2020-09-28 17:26:58 +05:30
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
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
Frappe Bot
94ea028db3 Merge branch 'master' into develop 2019-03-08 09:38:18 +00:00