Commit graph

510 commits

Author SHA1 Message Date
Ankush Menat
fa6dc03cc8
refactor: frappe.cache() usage to frappe.cache (#21282) 2023-06-08 11:47:17 +05:30
Shariq Ansari
0c90d1748f fix: go back instead of opening select_doctype dialog 2023-05-26 21:12:05 +05:30
Shariq Ansari
2af7e74eb9 fix: made select_doctype accessable gobally which can be used to change doctype from form-builder 2023-05-26 20:41:28 +05:30
Shariq Ansari
17f25aab93 fix: form-builder/new-doctype opens separate dialog
refactored form_builder.js
2023-05-26 20:38:43 +05:30
Ankush Menat
4ab98b998d
fix: setup wizard recursion in routing (#21101)
- setup wizard shows slide from index in route
- if you visit `/app/setup-wizard` then index in route is `undefined`
- because of hacky code we do `id + ''` so `undefined` becomes `"undefined"` a truthy value

The recursion of undefined > 0 > undefined > 0 continues until browser
intervenes and stops further routing.
2023-05-24 17:43:51 +05:30
Ankush Menat
c643d4a33c chore: capitalization 2023-05-22 16:15:53 +05:30
Ankush Menat
9f83ead7a2 fix: remove setup_complete events
This can trigger along side actual setup complete event causing two
parallel requests.
2023-05-22 14:48:19 +05:30
Shariq Ansari
c8179a1873 fix: only allow developer & Administrator to create standard doctype using form builder 2023-05-17 20:41:08 +05:30
Shariq Ansari
2d8fe60f4c fix: populate doctype name from select doctype field if set 2023-05-17 13:50:56 +05:30
Shariq Ansari
7dff25c698 fix: set system manager as default permissions while creating from form builder 2023-05-17 13:50:17 +05:30
Shariq Ansari
295e43dc8d fix: validate redirect to customize form based on doctype 2023-05-15 17:36:48 +05:30
Shariq Ansari
677d24e1c4 chore: updated dialog title 2023-05-15 16:46:52 +05:30
Shariq Ansari
df724e6e46 fix: create doctype from form-builder 2023-05-15 14:06:30 +05:30
Shariq Ansari
0768bc5693 fix: form_builder/ not working 2023-05-15 14:00:18 +05:30
Ankush Menat
97959d7b88
fix: validate email on setup wizard (#20979)
* chore: remove unused gravatar code

* fix: Check invalid field in setup wizard

* chore: typo

---------

Co-authored-by: Michelle Alva <50285544+michellealva@users.noreply.github.com>
2023-05-14 19:16:31 +05:30
Ankush Menat
93c326b971 feat: let user opt out of telemetry from setup 2023-04-25 14:46:53 +05:30
Ankush Menat
f63c420798 feat: add python posthog library 2023-04-25 13:10:14 +05:30
Ankush Menat
6c3f29efe7 feat: setup wizard progress telemetry 2023-04-25 11:54:56 +05:30
Ankush Menat
709edf1f55 fix: Make corrected bankers rounding default method 2023-03-13 13:10:51 +05:30
barredterra
3694e654a1 refactor: rename convert_utc_to_user_timezone to convert_utc_to_system_timezone 2023-03-04 19:02:25 +01:00
Sabu Siyad
1e115e5e50
chore!: Remove translation tool (page) (#19786)
* refactor(page): remove translation tool files

* refactor(patches): remove translation tool page
2023-01-30 12:09:05 +05:30
Deepesh Garg
0f5d17663d
fix: Remove setup wizard user image (#19601) 2023-01-16 16:44:04 +05:30
Ankush Menat
4443a0743d
fix(UX): Leaderboard company field validation (#19562)
[skip ci]
2023-01-11 14:22:08 +05:30
Ankush Menat
075a2d778e feat: UnixTimestamp QB function 2023-01-09 12:05:52 +05:30
AHasanin
78816428e4 fix(user_profile): remove unnecessary f string 2023-01-08 19:51:05 +02:00
AHasanin
9d14c68ca8 fix(user profile): fix user profile qeuries to support postgres 2023-01-08 16:15:20 +02:00
Ankush Menat
e00023deb1 refactor: replace bad usage of db.set_value 2023-01-04 11:13:53 +05:30
Ankush Menat
a90fc27c75
refactor!: Remove activity feed (#19241) 2022-12-12 15:29:32 +05:30
Shariq Ansari
f0a5f0a6f3 fix: Change doctype by clicking on page title
also added go to doctype list menu item
2022-12-08 15:25:08 +05:30
Shariq Ansari
330c87f203 fix: use actual doctype name for routing instead of slugged version 2022-10-23 19:56:29 +05:30
Shariq Ansari
9c021be4db feat: Update Customize Form Fields
- Handle route for both Doctype Fields & Customize Form Fields
- Minor changes in Doctype Field fetch logic
- Fetch & Save Customize Form Fields
2022-10-23 01:32:55 +05:30
Shariq Ansari
93421da3f6 fix: fetch latest changes when we switch back to form builder page 2022-10-21 02:05:46 +05:30
Shariq Ansari
5f64a2ace5 feat: Form Builder
- Form Builder Page
- Vue 3 setup
- Pinia store setup
- Reusable Tab Component
- Form Builder button on Doctype
2022-10-11 19:42:27 +05:30
Ankush Menat
56920e409a
perf: send all translations for setup wizard (#18226)
Computing all translations is far slower than just sending everything.
This is how boot works too.
2022-09-26 17:50:49 +05:30
Ankush Menat
2eec621e95 chore: db.get_all -> get_all
Reduces 1 pointless function call.
Function calls are also not "super cheap" in python.
2022-08-22 11:35:14 +05:30
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +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
Ankush Menat
eac73f6765
fix: better error logging for setup exceptions (#17096)
fix: better error loggin for setup failure
2022-06-07 19:05:30 +05:30
Ankush Menat
359c7768f5 fix: multiple postgres transaction abort issues
- wrap setup fixtures in savepoint
- wrap scheduled_job_type in savepoint
- ignore duplicates where it's ignored by exc
- dont attempt to delete from deleted table
- delete custom field and commit - stale meta causes future inserts to
  insert unknown field.
2022-06-05 00:26:15 +05:30
chillaranand
25f82e966c refactor: Remove unused imports & code 2022-05-19 15:34:35 +05:30
Suraj Shetty
2dfdb90e2d
Merge branch 'develop' into remove-is_first_startup 2022-05-05 18:45:27 +05:30
phot0n
33b49b4d46 refactor(minor): remove is_first_startup from System Settings 2022-05-04 10:43:59 +05:30
Gavin D'souza
6cb8127e8d fix(setup_wizard): Make language field Autocomplete 2022-05-02 16:56:25 +05:30
Gavin D'souza
a688577a3f fix(setup_wizard): Merge language & country info slides
Minimizing the number of slides required for setting up a new site. In
developer mode, only one slide is visible now titled "Hello" or
selected language equivalent.
2022-05-02 16:19:38 +05:30
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
Ankush Menat
e2a17c38fd revert: ignore_if_duplicate in postgres
breaking CI
2022-02-26 12:15:25 +05:30
Ankush Menat
2c2d8b8e08 fix: explicitly ignore duplicates 2022-02-23 14:11:30 +05:30
Sagar Vora
e5857fa56a fix: improve setup wizard exception email 2022-02-08 20:02:49 +05:30
Sagar Vora
951ad3f844 chore(deps): bump werkzeug to latest version 2022-02-08 20:02:49 +05:30
barredterra
b1383df15a refactor: use is None instead of == None 2022-01-17 10:37:51 +01:00