Commit graph

248 commits

Author SHA1 Message Date
Suraj Shetty
eb560fd8b4 fix: Pass URL for login cmd
Fixes this problematic commit
f0eef73cf7
2023-05-15 10:35:03 +05:30
Suraj Shetty
f0eef73cf7 fix: Request on "/login" instead of "/"
Just a semantic fix, helps in identifying the request in network tab and easier add proxy while working with custom app
2023-05-14 22:20:36 +05:30
phot0n
0e4909b28b refactor: remove frappe.send_message js util 2023-04-04 12:32:03 +05:30
Shariq Ansari
0736f8a01b fix: load all boot data on website 2022-10-07 23:28:36 +05:30
Shariq Ansari
799cc62515 fix: get assets_json from boot 2022-10-05 16:34:02 +05:30
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
add84065ad Merge remote-tracking branch 'upstream/develop' into esbuild 2021-05-07 12:55:04 +05:30
Sagar Vora
d6a3621650 fix: remove scrollable behavior 2021-05-03 12:19:30 +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
prssanna
e54a1262b4 Merge branch 'rebrand-ui' of https://github.com/frappe/frappe into rebrand-ui 2021-01-20 17:57:46 +05:30
prssanna
f363863b8c fix: website fixes
-move modal and icon styles to common

primary navbar theme
2021-01-20 17:56:05 +05:30
Suraj Shetty
b94d5778a8 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2021-01-19 10:36:50 +05:30
Rushabh Mehta
c93368b242 fix(minor): merge develop 2021-01-08 14:35:55 +05:30
pateljannat
a498751d88 fix: secondary button in dialog for website 2020-12-31 16:42:19 +05:30
Gavin D'souza
bd7ff5277c fix(hljs): Import core instead of highlight
ref: https://unpkg.com/browse/highlight.js@10.4.1/lib/highlight.js
2020-12-16 19:27:02 +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