Ankush Menat
c7e5afee6a
refactor: Use arr.includes(item) instead of in_list(arr, item)
2023-12-27 19:33:13 +05:30
barredterra
70c7315ed8
Merge branch 'develop' into jinja-syntax
2023-12-17 19:54:16 +01:00
Corentin Flr
4f809630c5
fix: Set sort_order to DESC if sort_field is modified ( #23697 )
...
Global search and replace operation, including single doctypes where it does not really matter.
2023-12-13 09:52:14 +05:30
barredterra
a83b5b324b
feat(Print Format): switch from pure HTML to Jinja highlighting
2023-12-12 20:06:25 +01:00
barredterra
c35476256f
refactor: simplify conditional logic
...
Command: `sourcery review --fix --enable de-morgan .`
2023-12-05 11:14:41 +01:00
Ankush Menat
72ca95dec0
fix: Only allow standard print format modification in migrate ( #23112 )
...
* fix: Only allow standard print format modification in migrate
AFAIK only valid use case is fixtures and there too it should avoid
"standard".
* chore: typo
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
---------
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2023-11-06 19:28:10 +05:30
Maharshi Patel
d23b543dc9
Merge branch 'develop' into feat-desk-refresh
2023-09-15 12:12:25 +05:30
Maharshi Patel
6590d24151
fix: dark mode, timeline, logo colors
...
* changed variables from gray-* to dark mode compatible ones.
* timeline style fixes
* change logo with new black colors.
2023-09-15 12:04:17 +05:30
0xsaif
aa7ee1c6b9
refactor: force ipv4 localhost ( #22394 )
...
* reafctor: force ipv4 localhost
Replacing "localhost" with "127.0.0.1" in the codebase; sometimes the name localhost force-resolves to ipv6
* revert: leave localhost usage in oauth tests
Change not required.
---------
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-09-13 16:23:23 +05:30
Maharshi Patel
9d0f72d98d
Merge branch 'develop' into feat-desk-refresh
2023-09-05 16:19:54 +05:30
Maharshi Patel
399ce7eb3b
fix: typography added letter-spacing
...
* added function to calculate letterspacing based on espresso
* added mixin to add font-size, font-weight and letter-spacing
* letter spacing is based on size and weight
* changed letter spacing on major places
* misc: minor kanban style fixes and changed border radius for .page-card
2023-09-04 16:03:40 +05:30
Ankush Menat
dc8d7b019a
refactor!: Lower roles from All To Desk User
2023-08-29 12:07:57 +05:30
Maharshi Patel
0307dd4cca
Merge branch 'develop' into feat-desk-refresh
2023-08-24 23:55:42 +05:30
Maharshi Patel
f6ebdc24f4
fix: update icons to espresso for different pages
...
updated icons on various parts of the page to espresso
2023-08-24 10:21:37 +05:30
barredterra
88c8baa9ee
refactor: for append to extend, merge list extend
...
Replace a for append loop with list extend.
Create the list with values instead of creating
an empty list and extending it with another list.
2023-08-09 13:25:39 +02:00
barredterra
b553ed98d8
refactor: inline immediately returned variable
...
Inline a variable to a return in the case when the
variable being declared is immediately returned
2023-08-08 18:09:49 +02:00
David Arnold
fddd3b24f7
test: skip tests on RO app paths which require write access ( #21878 )
2023-07-31 12:46:23 +05:30
Ankush Menat
927cd647e4
chore: generate type annotations
2023-07-24 15:32:48 +05:30
Ankush Menat
58cf770760
fix: All ESLint errors
2023-07-14 15:25:48 +05:30
Suraj Shetty
eda8be74ca
fix: Hide font-size from print format
...
- Since it is only used in new print format builder
and it can be set via new print format builder's interface
2023-05-31 15:44:05 +05:30
Suraj Shetty
1fd84f6b09
fix: Remove field_id from URL
...
- scroll to field is not yet supported
2023-05-31 15:42:50 +05:30
Suraj Shetty
55455cef4e
fix: Update label
...
"in PDF" is not required as it is already under PDF settings.
2023-05-31 09:03:07 +05:30
Suraj Shetty
a13592a66a
fix: Warn users if "Repeat Header and Footer" is disabled
...
- and if the user still sets Letterhead
Also, add label to the print options
2023-05-31 08:55:59 +05:30
Suraj Shetty
e429101370
fix(print): Language set in document should have higher precedence
2023-03-14 15:13:35 +05:30
Devin Slauenwhite
2223f97f88
fix: print preview when no letterhead is selected ( #20286 )
2023-03-10 12:10:22 +05:30
Ankush Menat
8446875257
refactor!: Remove "Set user permission" permtype ( #20090 )
...
This has never worked and setting user permission requires system
manager role always (because of permissions on list view)
2023-02-20 16:07:49 +05:30
Shariq Ansari
efd82c464e
fix: checkbox is getting squeezed if label is long
2023-02-14 15:57:11 +05:30
Ankush Menat
c69c040186
chore: typo
2023-02-13 18:26:09 +05:30
Ankush Menat
b8ba7dcdb3
fix: Setting default print format ( #19862 )
...
- Remove check for developer mode, it's not even valid as we dont allow
setting default print format like this
- Set in custom doctype if custom doctype else prop setter.
- query meta instead of doctype.
[skip ci]
2023-01-31 17:52:35 +05:30
Samuel Danieli
4d08f50a03
fix: PermissionError ( #19856 )
...
* fix: PermissionError
* fix: check perm on customize form
---------
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-01-31 16:04:40 +05:30
barredterra
0d87870ca3
refactor: better, consistent names
2022-12-08 17:01:35 +01:00
barredterra
6069cde624
fix: remove seemingly useless code
2022-12-08 17:00:46 +01:00
barredterra
c8a196f768
fix: use standard format if none is selected
2022-12-08 16:59:29 +01:00
barredterra
0c3c4bf197
fix: add missing translations (de)
2022-12-08 16:57:32 +01:00
Ankush Menat
08aa17e5a3
Merge branch 'develop' into select-print-language
2022-11-24 13:04:27 +05:30
Ankush Menat
e594c35a3a
fix: show fields without labels in print format builder ( #18939 )
...
* fix: show fields without labels in print format builder
* refactor: dont hardcode layout fields
[skip ci]
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
2022-11-21 14:52:31 +05:30
barredterra
5843aae5f6
fix: set default print format
2022-11-13 23:28:05 +01:00
barredterra
42608ac0c1
fix: set default letterhead
2022-11-13 22:57:26 +01:00
barredterra
aefba91139
refactor: use link for Letter Head
2022-11-09 18:06:50 +01:00
barredterra
75299abec8
fix: add placeholder for language
2022-11-09 18:06:26 +01:00
barredterra
9782f937fd
refactor: use link for print format
2022-11-09 18:05:44 +01:00
barredterra
354279d690
fix: use link field to select print language
2022-11-09 15:06:28 +01:00
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
3e2d2a703a
test: Use FrappeTestCase everywhere
2022-08-17 16:39:42 +05:30
Gavin D'souza
598359c684
test: Reset requirements for export_doc
2022-08-09 15:57:26 +05:30
Gavin D'souza
208e33afa6
test: Add cleanup for generated files
2022-08-08 15:09:21 +05:30
Gavin D'souza
624c308659
Merge branch 'develop' of github.com:frappe/frappe into modules-refactor
2022-08-08 12:27:11 +05:30
Ankush Menat
40f27f908a
style: format JS files with prettier
2022-08-04 14:51:01 +05:30
Gavin D'souza
85e3ee9403
chore: Minified DocType JSON notation from old verbose notation
2022-08-03 12:22:03 +05:30
Shariq Ansari
3216529deb
fix: Letter head image not working ( #17608 )
2022-07-25 17:46:27 +05:30