Commit graph

1347 commits

Author SHA1 Message Date
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +05:30
phot0n
34a256ac29 chore: remove payment gateway template pages 2022-07-26 15:11:56 +05:30
phot0n
7ced29e531 chore: remove payments template includes 2022-07-26 15:11:56 +05:30
Shariq Ansari
a50e0ffa08
refactor: Webform (#17232) 2022-07-19 15:52:15 +05:30
Raffael Meyer
2bf14bb29f
fix: translate page numbers (#17492) 2022-07-19 15:38:17 +05:30
Shariq Ansari
04f4fd8cfc
fix: Redirect to comment in the doc comment section (#17538) 2022-07-18 22:00:54 +05:30
Ankush Menat
29c855b028
fix: db.get_value -> db.get_single_value (#17531)
db.get_value for singles returns string type always, this is confusing
behaviour, db.get_single_value should be used instead.

semgrep rule: https://github.com/frappe/semgrep-rules/pull/16
2022-07-18 15:10:49 +05:30
Shariq Ansari
a8f86abbd8
refactor: Replaced blog's feedback with comment's comment_type='Like' (#17479) 2022-07-14 14:09:00 +05:30
Suraj Shetty
b406e29242 fix(realtime): Use socketio_port set in config 2022-07-04 15:08:53 +05:30
Suraj Shetty
cd2aeffce7
Merge branch 'develop' into cleanup-libs 2022-07-04 10:05:43 +05:30
Ankush Menat
81b37cb7d2
refactor: clean up code to py310 supported features (#17367)
refactor: clean up code to py39+ supported syntax

- f-strings instead of format
- latest typing support instead of pre 3.9 TitleCase
- remove UTF-8 declarations.
- many more changes

Powered by https://github.com/asottile/pyupgrade/ + manual cleanups
2022-07-01 11:51:05 +05:30
Suraj Shetty
05f416e448 refactor: Removed vendored socketio library
- Removed vendored socketio library
- Add socket.io-client library
- Removed unnecessary code in socketio server
- Remove chat related code
2022-06-29 14:58:13 +05:30
Jannat Patel
20c94a5d32 fix: navbar child redirection issue 2022-06-23 12:26:31 +05:30
Suraj Shetty
b0d53d93ad
Merge pull request #17264 from netchampfaris/page-builder-section-ids 2022-06-22 12:48:36 +05:30
Faris Ansari
891a2c7d5b feat(PageBuilder): Section IDs
Set IDs on sections so that you can link to them using anchor tags
2022-06-21 20:03:00 +05:30
Suraj Shetty
49bee3a912
Merge branch 'develop' into fix-login-ux 2022-06-21 09:02:14 +05:30
Suraj Shetty
245302dc7a refactor: Rename icon symbol filename from symbol-defs.svg to icons.svg 2022-06-21 08:07:51 +05:30
Suraj Shetty
64cc07227e refactor: Replace usage of deprecated attribute 2022-06-21 08:00:49 +05:30
Suraj Shetty
d7fe7ae39c perf(UX): Load splash screen immediately after login 2022-06-21 07:02:58 +05:30
Gavin D'souza
b696fa6da5 perf: Pre-compile and re-use regexp pattern
Converted all possible usages of re.* that weren't compiling the regex
separately and re-using it. Separated out the compiled patterns as
global variables. Repetitive patterns could be made DRY-er.

Would be nicer to have all regexes in a single module so that we could
re-use better, keep track of outdated, and keep checks for possible
reDos' etc
2022-06-08 14:07:38 +05:30
Suraj Shetty
8b22f9757e revert: page_content class name refactor
Since it would have been a breaking change
2022-06-01 17:12:30 +05:30
Suraj Shetty
c299ebe779 fix: Page card style 2022-06-01 08:40:14 +05:30
Suraj Shetty
1431cb26d3 fix: Catch any expection and show proper error page
- Also, show title & message if it is defined in the exception class
2022-06-01 08:08:52 +05:30
Jannat Patel
7fa451333a fix: formatting 2022-05-31 14:16:16 +05:30
Jannat Patel
fdff13cb29 fix: pass currency to razorpay checkout 2022-05-31 12:51:02 +05:30
barredterra
de45cf9bbd feat: Use autocomplete attributes for login, signup and password reset 2022-05-05 13:13:40 +02:00
Suraj Shetty
c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Faris Ansari
e13c74b53f fix: strip html from comment content 2022-04-06 16:28:57 +05:30
Faris Ansari
9943423a1f fix: strip html from blog comments to prevent spam 2022-04-06 16:10:14 +05:30
Faris Ansari
151a95aa30 fix: remove spaces from email placeholders
spaces get converted to %20 which breaks text replacement
2022-04-04 17:11:14 +05:30
Jannat Patel
b572980c80 Merge branch 'discussions-component-redesign' of https://github.com/pateljannat/frappe into discussions-component-redesign 2022-03-31 09:46:23 +05:30
Jannat Patel
621a833b84 fix: sidebar cards, dropdown width, button size 2022-03-31 09:46:19 +05:30
Jannat Patel
653bb909d4
Merge branch 'develop' into discussions-component-redesign 2022-03-28 10:21:19 +05:30
Mohammad Hasnain Mohsin Rajan
02c9de7e38
fix(translation): Set translated text as html to get unescaped output (#16214) 2022-03-25 01:11:42 +05:30
Jannat Patel
3910cc63f6 fix: cursor pointer for back button 2022-03-24 12:29:06 +05:30
Jannat Patel
70e64da264 fix: ui issues 2022-03-24 12:25:45 +05:30
Jannat Patel
37962c75d2 fix: ui issues 2022-03-24 12:25:26 +05:30
Rushabh Mehta
3a2b86661a fix(style): web form cleanups 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
Jannat Patel
f787d101e1 fix: conflicts in ui test helper 2022-03-19 10:14:34 +05:30
Jannat Patel
0c1c217004 fix: hide search for single thread discussion 2022-03-07 11:41:50 +05:30
Jannat Patel
68f84b2645 test: fixed based on new ui 2022-03-07 10:50:59 +05:30
Gavin D'souza
0ef99c3886 fix: Add signature to Communication.content if not already added
This fix adds a signature forcibly if found under the sender's
User.email_signature or default outgoing email account's signature
field.

The previous method of adding a comment into the Email didn't work since
Quill would discard comments before setting them. Adding signatures in
get_formatted_html didn't seem apt since it's used in QueueBuilder to
re-construct the Email before processing the Email Queue. This meant
that the email content that was added in the Communication record would
not be final. Now, we treat the signature as part of the Communication
content.
2022-03-02 19:41:51 +05:30
Jannat Patel
064c879a31 Merge branch 'discussions-component-redesign' of https://github.com/pateljannat/frappe into discussions-component-redesign 2022-03-02 17:49:35 +05:30
Jannat Patel
a490d61675 fix: search only when topics are present 2022-03-02 17:49:32 +05:30
Jannat Patel
0a87f01f3e
Merge branch 'develop' into discussions-component-redesign 2022-03-02 17:48:00 +05:30
Jannat Patel
d6cbc28b2a feat: delete message 2022-03-02 16:58:48 +05:30
Jannat Patel
458a535870 fix: publish updated message 2022-03-02 10:54:35 +05:30
Jannat Patel
a2017ce3a4 feat: dismiss reply 2022-03-01 19:50:30 +05:30
Jannat Patel
020d7358a5 feat: edit reply 2022-03-01 18:37:38 +05:30