Commit graph

42389 commits

Author SHA1 Message Date
Faris Ansari
7ca39a81bf fix: explicitly specifiy order 2022-12-31 22:18:07 +05:30
Faris Ansari
99160cbe17 fix: refactor usage 2022-12-31 22:17:54 +05:30
Faris Ansari
e272adb0b1 fix: use table.field instead Field('field') 2022-12-31 22:17:39 +05:30
Faris Ansari
847206222f fix: delete option 2022-12-31 22:17:20 +05:30
Hussain Nagaria
7eb31f1fa5 fix: use title instead of name in message body too 2022-12-31 20:04:59 +05:30
Hussain Nagaria
384c01b92f fix: show document title instead of name in like notification email subject 2022-12-31 20:01:50 +05:30
Sagar Vora
e84cea9901
Merge pull request #19395 from resilient-tech/old-cache-code-removal
chore: remove code for handling old dict-based meta cache
2022-12-31 11:11:39 +00:00
Ritwik Puri
7cae422a8e
Merge pull request #19413 from gavindsouza/build_response-json
fix: build_response for re.Match
2022-12-31 00:06:34 +05:30
Mohammad Hussain Nagaria
215e9dc2ef
Merge branch 'develop' into fix-auto-enable-in-list-view 2022-12-30 19:35:31 +05:30
phot0n
31d1bd6cc7 chore: linter 2022-12-30 19:27:17 +05:30
aliX40
1ddbb9d7a4
chore: make min read string translatable in blog post (#19410)
* Make min read translatable

min read doesn't get translated, which can be a little bit annoying when writing blog posts in other languages other than english


Co-authored-by: phot0n <ritwikpuri5678@gmail.com>
2022-12-30 17:50:24 +05:30
Ankush Menat
b414fff09f
Merge pull request #19363 from shariquerik/login-without-password
feat: Login With Email Link
2022-12-30 14:05:39 +05:30
Ankush Menat
a43a0149eb refactor: improve test, rate limiting 2022-12-30 13:42:42 +05:30
Marica
182c535067
Merge branch 'develop' into kanban-access-w-perms 2022-12-29 23:17:20 +05:30
marination
5b319f0830 test: Check if Kanban Board is not editable by non-system user who does not own the board
- User should only be able to view the board, and drag the cards
- No column actions, no board actions
2022-12-29 23:11:30 +05:30
phot0n
231d90cb40 chore: handle get requests via frappe.whitelist decorator 2022-12-29 18:44:53 +05:30
Hussain Nagaria
e96ce83343 test: not in list view by default for not allowed mandatory field types 2022-12-29 17:40:58 +05:30
phot0n
b78f86a307 fix: redirect back to email account after successful oauth 2022-12-29 17:14:28 +05:30
phot0n
ca8842861a refactor(minor): simplify check_active_token 2022-12-29 17:03:16 +05:30
Hussain Nagaria
f1553c479c fix(test): override fields of test doctype if passed 2022-12-29 16:20:07 +05:30
Faris Ansari
faae4e7a86
Merge pull request #19433 from netchampfaris/allow-video-files 2022-12-29 16:09:10 +05:30
Faris Ansari
d60acc7cb4 fix: allow video files to be uploaded 2022-12-29 15:40:41 +05:30
Hussain Nagaria
048de262fd fix: don't set default in list view for fields not allowed 2022-12-29 15:24:59 +05:30
Ritwik Puri
db0baa2da3
Merge pull request #19422 from gavindsouza/rename-socketio-events
fix(socketio): Event list_update > doctype_subscribe
2022-12-29 14:02:21 +05:30
marination
49143922c5 chore: Kanban and ToDo UI test helpers
- `create_admin_kanban` and `create_todo` UI test helpers
- `switch_to_user` Cypress command: logs out and logs in as specified user
- Used `remove_role` in permissions test
- Used `switch_to_user` command in test helper
2022-12-28 23:00:00 +05:30
phot0n
f0a17d7adb fix: make connected app work with email account
* removed (now) unnecessary things from oauth class
* simplified get_active_token in connected_app
* removed gmail banner from email account docs
2022-12-28 14:58:19 +05:30
Revant Nandgaonkar
a4e5df674b fix(email): oauth_access call and info message 2022-12-28 14:51:10 +05:30
Revant Nandgaonkar
f79185d79c feat: use Connected App for OAuth based Email Account 2022-12-28 14:51:10 +05:30
Gavin D'souza
c960382667 fix(socketio)!: Event list_update > doctype_subscribe 2022-12-28 00:25:58 +05:30
Gavin D'souza
d13c377848 refactor: OAuth
* Added typing hints for Oauth APIs and dependant utils
* Simplify oauth core flows
* Remove long commented code
* Use newer, simpler syntax for better readability
2022-12-27 19:25:43 +05:30
rohitwaghchaure
a72fdcbd89
fix: not able to make delivery note from pick list (#19418) 2022-12-27 17:58:04 +05:30
marination
d5c4af53d8 chore: Cleaner Cypress commands
- Clearer APIs `add_role` and `remove_role`
2022-12-27 17:00:00 +05:30
Ritwik Puri
de525b2ef1
Merge pull request #19411 from phot0n/autoname-child-table
fix(minor): dont set autoincrement autoname by default for child table
2022-12-27 15:57:57 +05:30
Gavin D'souza
ef82ef944e fix: build_response for re.Match 2022-12-27 14:17:09 +05:30
Ritwik Puri
09e500ea90
Merge pull request #19407 from adityahase/fix-subscription-manage
fix(subscription): Allow remote_login even if subscription.expiry is not set
2022-12-27 12:56:53 +05:30
phot0n
8ea093b973 fix(minor): dont set autoincrement autoname by default for child table 2022-12-27 12:48:47 +05:30
Shariq Ansari
dc8aad9bbd
Merge pull request #19391 from shariquerik/cmd/ctrl-to-see-fieldname 2022-12-26 16:32:46 +05:30
marination
ef75e0f9b8 fix: Dispatch update_order always. Handle perm-wise action in backend
- Currently, `update_order` is also responsible for fetching fresh column order from db as well updating card order
- In the .py file, return board doc if no write permission as that is used to render thr right columns order
- Without it, stale order (before moving columns) is restored as there is no db call getting columns that were last stored
2022-12-26 16:05:07 +05:30
Aditya Hase
6f8a087c5f
fix(subscription): Allow remote_login even if subscription.expiry is not set
remote_login is used for the "Subscribe" banner as well as the Manage Subscription button.
2022-12-26 14:18:58 +05:30
Shariq Ansari
70fac30e77
Merge branch 'develop' into kanban-access-w-perms 2022-12-26 12:27:59 +05:30
Shariq Ansari
a6db8ab5bc fix: removed footer
Capitalized log in to frappe button
2022-12-26 12:19:55 +05:30
Shariq Ansari
24b5d0fb7b
Merge branch 'develop' into cmd/ctrl-to-see-fieldname 2022-12-26 12:03:35 +05:30
Faris Ansari
726fcfdb79 refactor: qb.engine
- simplify
- qb.engine.get_query -> qb.get_query
- qb.engine.build_conditions -> qb.get_query
2022-12-25 23:19:11 +05:30
Hussain Nagaria
b9a6db3c08 refactor: ngrok_auth_token -> ngrok_authtoken
* to be consistent with ngrok's naming convention
2022-12-24 12:45:24 +05:30
Hussain Nagaria
5c7b583582 fix(commands): require ngrok auth token in site_config.json to use ngrok command
* ngrok authtoken is now required to use the host_header feature
2022-12-24 12:32:51 +05:30
Sabu Siyad
5e6ac70644
fix(link/js): handle undefined link_title_doctypes in frappe.boot (#19398)
Signed-off-by: Sabu Siyad <hello@ssiyad.com>

Signed-off-by: Sabu Siyad <hello@ssiyad.com>
2022-12-24 11:07:28 +05:30
Sagar Vora
1458429d98
chore(Document): remove code that resets self.latest (#19399) 2022-12-24 00:13:28 +05:30
Sagar Vora
d072e20cbd chore: fix typo 2022-12-23 06:13:07 +00:00
Sagar Vora
7fdcafddce chore: remove code for handling old dict cache 2022-12-23 06:13:07 +00:00
marination
5d0ad77d62 fix: Hide Menu if empty & render columns without state change
- 'Refresh' btn is always present in dropdown menu. Show menu if any other action is also present.
- Without `update_order` state is not changed, and thus columns are not rendered on `init()`
- If we are not updating order in the db, render columns with whatever information we have currently
2022-12-23 00:44:53 +05:30