barredterra
39e12ba14c
fix: get_translations_from_apps
...
- Only consider installed apps
- Handle context correctly
2023-10-29 15:18:03 +01:00
barredterra
5c6ad3dfe2
fix: rename cache keys to avoid conflict
2023-10-29 15:09:21 +01:00
barredterra
a1e052bbb5
chore: use existing get_dict_from_hooks
2023-10-29 15:04:21 +01:00
barredterra
b280f45bff
chore: remove unused methods
...
These are much slower than the other approach (results are not cached).
Also, they are lacking a fallback mechanism for missing context.
2023-10-29 14:43:27 +01:00
barredterra
d969c1aa3a
Merge remote-tracking branch 'upstream/develop' into po-translation
2023-10-29 01:34:14 +02:00
barredterra
e052fe651e
fix: consistent naming migrate-csv-to-po
2023-10-29 01:31:27 +02:00
barredterra
fab8ae8fd6
refactor: folder structure
...
- put .po files into [app]/locale/[lang].po
- put .mo files into sites/assets/locale/[lang]/LC_MESSAGES/[app].mo
The latter structure is mandated by the gettext library.
2023-10-29 01:25:54 +02:00
Bernd Oliver Sünderhauf
d92f74f877
chore: Fix codestyle to satisfy linter, and typo. ( #22954 )
2023-10-28 17:12:39 +05:30
Sagar Vora
c4cabbb11a
chore: bump werkzeug to 3.0.1 ( #22945 )
2023-10-27 16:47:26 +05:30
Ankush Menat
1560fa8610
fix: ignore stale custom fields while checking back-links ( #22940 )
...
* fix: ignore non-existing back-links
* refactor: less indentation, guard clauses
2023-10-27 14:07:58 +05:30
Faris Ansari
f4cd1bb8af
Merge pull request #22931 from netchampfaris/socketio-auth-url
2023-10-27 00:07:10 +05:30
Maharshi Patel
c7fa8e694a
Merge pull request #22924 from maharshivpatel/fix-espresso-web
...
fix: web styles espresso
2023-10-26 16:16:59 +05:30
Maharshi Patel
875bca7051
fix(minor): hide grid row on modal close ( #22930 )
...
Sometimes grid row is open in modal and people closes the dialog
which closes orphan backdrop and people are unable to access UI.
check if grid row is open and hide it on hide of modal.
2023-10-26 15:51:22 +05:30
Maharshi Patel
2e08741e60
fix: button size for md and lg
...
espresso buttons don't have large size but on website large size is used
so only apply espresso padding on buttons if they are not md or lg
2023-10-26 15:48:26 +05:30
Faris Ansari
be85c246ff
fix(socketio): send correct url for auth
...
in case, an app uses a different frontend stack on a different development server,
socketio should use the correct webserver port when authenticating
2023-10-26 15:27:27 +05:30
Sagar Vora
9fdd432b4d
Merge pull request #22916 from resilient-tech/fetch-if-empty-revert
2023-10-26 15:14:51 +05:30
Sagar Vora
f08f128b1c
fix: improve label and description for fetch_if_empty
2023-10-26 15:02:03 +05:30
Maharshi Patel
f1abf04a5a
fix(minor): add min-width to modified
...
added min-width to modified so avatars column won't break
2023-10-26 13:26:18 +05:30
Maharshi Patel
e4de5bf0d1
fix: datepicker make current date bold.
2023-10-26 13:11:39 +05:30
Maharshi Patel
259695a1c7
fix: web styles espresso
...
- added Inter & Inter V on website and font-stack
- added flex to logged-in to center avatar
- decreased brand logo height to 22px
- added primary border-bottom to active navbar link
- added underline to links for blog content
and added to from-markdown for web pages
2023-10-26 12:50:56 +05:30
Ankush Menat
385fa8aaef
fix!: Correct between filtering ( #22918 )
...
* fix: Remove incorrect fallback
If you do +1 on date it will also start considering next date. This was
only done to accomodate date filter on datetime fields. Which also
doesn't really work.
* refactor: simplify fieldtype detection
* fix!: Correct datetime fallbacks for between filters
* chore: remove unncessary test
This is very specific and introduces flake when the job tests run before
it.
2023-10-26 06:23:14 +00:00
Sagar Vora
99ec771e8b
fix!: revert UI behavior of fetch_if_empty
2023-10-25 16:07:40 +05:30
Ankush Menat
a643098a26
fix: Footer should show up once at end if not repeating header/footer ( #22902 )
...
* fix: Footer should show up once at end if not repeating header/footer
* fix: only show page number if repeating header
[skip ci]
2023-10-25 15:47:49 +05:30
Ankush Menat
287e13522c
fix: ignore workspace links on delete ( #22895 )
...
These can be manually modified later. It's not important to completely
block and prevent deletion.
2023-10-25 07:05:37 +00:00
Ankush Menat
d196dfeac4
fix: ignore perm while updating notification settings
...
If you can update user, do you should be able to update notif settings.
2023-10-25 11:22:56 +05:30
Raffael Meyer
65e859c938
Merge pull request #22889 from barredterra/basic-translation
2023-10-24 14:25:23 +02:00
barredterra
a7f0fa0377
fix: wrong german translation
2023-10-24 14:23:55 +02:00
zeel-codder
79b67a4b83
fix: Update email_message in the send_welcome_email function to use the use_html check for Email Template
2023-10-24 13:51:12 +05:30
dependabot[bot]
8b0efd5d4f
chore(deps): bump actions/setup-node from 3 to 4 ( #22881 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 12:14:47 +05:30
Saif Ur Rehman
12e74d2af5
chore: linting
2023-10-23 16:35:21 +05:00
Saif Ur Rehman
b000169718
perf(remove_script_and_style): regex check instead of caching
2023-10-23 16:23:18 +05:00
Ankush Menat
a930872fd6
fix: pass default SSL context for imap/poplib ( #22873 )
2023-10-23 16:51:15 +05:30
Ankush Menat
9abb964d33
fix: don't encode / in html escaping ( #22871 )
...
This isn't really required and `/` is used in user facing text.
2023-10-23 16:12:52 +05:30
Saif Ur Rehman
5bc73e2ab8
chore: linting
2023-10-23 13:50:47 +05:00
Ankush Menat
a3db75e161
fix: use frm.set_value for updating fields ( #22860 )
...
Just updating frm.doc object doesn't update the underlying model. In Frappe `frm.doc` is NOT the primary representation or source of truth for better or worse.
2023-10-23 14:14:30 +05:30
Maharshi Patel
c4c5f02f60
fix(minor): use inline-flex in page-actions btn ( #22846 )
...
Some times text and icons are in separate span and applying flex takes up the whole row. instead use inline-flex to avoid this.
2023-10-23 14:01:58 +05:30
surayp
68c28318dd
fix: escape print format code field( #22852 )
2023-10-23 09:57:52 +05:30
Saif Ur Rehman
9ff71de482
perf(Grid): debounced_refresh_remove_rows_button
2023-10-23 00:52:35 +05:00
Saif Ur Rehman
6aa795b855
perf(remove_script_and_style): caching for performance
2023-10-23 00:52:00 +05:00
Ankush Menat
6a9fee1b83
Merge pull request #22857 from CodeVenturers/open-contrib
...
fix(UX): resolve page not found error
2023-10-22 17:48:53 +05:30
Vishnu VS
2e431f75fb
fix: resolve page not found error
2023-10-22 15:55:11 +05:30
Ankush Menat
135fb6a486
chore: remove py2 compatibilty code
2023-10-21 13:40:04 +05:30
Shariq Ansari
5ec9ed09a9
Merge pull request #22646 from barredterra/fix-column-formatting
...
fix: list view formatting logic
2023-10-21 11:52:56 +05:30
Ankush Menat
ca29b0b685
Merge pull request #22839 from akhilnarang/use-python-gzip
...
refactor: use gzip library's compress() and decompress() methods directly
2023-10-21 11:18:25 +05:30
Akhil Narang
1119919971
refactor: use gzip library's compress() and decompress() methods directly
...
The util methods were added for python2.7 compat, mark them as deprecated
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-20 21:17:35 +05:30
Ankush Menat
44fa8e33d3
Merge pull request #22840 from maharshivpatel/fix-desk-minor-style
...
fix: minor desk style inconsistencies
2023-10-20 18:10:32 +05:30
Maharshi Patel
8973ee35d4
fix(minor): slides border and remove width
...
- remove unnecessary width from slides to make it a bit more responsive
- change border color to --border-color ( more subtle )
2023-10-20 17:43:32 +05:30
Shariq Ansari
ea44391f7a
Merge pull request #22836 from maharshivpatel/fix-website-styles-for-espresso
2023-10-20 17:38:30 +05:30
Maharshi Patel
b1e12a6109
fix: minor desk style inconsistencies
...
- made onboarding widget button default from primary
as it takes too much attention
- removed desk navbar dropshadow
- made sidebar text smaller and added padding to plus icon and hover effect
- as we need border in tree view btn-group added those styles in tree.scss
- made hover black on workspace links
- dark mode misc
2023-10-20 16:52:55 +05:30
Maharshi Patel
527c3ca418
fix: use flex in empty-apps-state
...
- changed empty-apps-state to flex and replaced box-shadow with border
2023-10-20 14:45:44 +05:30