0
0
mirror of https://github.com/florisboard/florisboard.git synced 2024-09-19 19:42:20 +02:00
Commit Graph

2152 Commits

Author SHA1 Message Date
lm41
025620a262
add FLADDONS_*** prefix to BuildConfig fields 2024-06-23 21:41:04 +02:00
lm41
4b83c907c3
simplify code 2024-06-23 19:43:51 +02:00
lm41
5542a131b9
Update UX for managing Extensions 2024-06-23 14:03:17 +02:00
lm41
b97cc52958
fix url encoding 2024-06-13 19:35:01 +02:00
lm41
aac7134433
add funktion to create an extension update url 2024-06-05 16:31:40 +02:00
Patrick Goldinger
f1d60d9958
Add barebones implementation for addons screen 2024-06-03 15:55:59 +02:00
lm41
e520a9c335
Prevent file/path name max length attacks 2024-06-02 13:55:39 +02:00
lm41
30294b02b4
Prevent large file size attacks by limiting the max file size to 100MB 2024-06-02 00:58:44 +02:00
Patrick Goldinger
f1bdf216fc
Add error condition for failing octet-streams 2024-06-02 00:19:28 +02:00
lm41
82d43a53cc
prevent zip-slip when unpacking an extension 2024-06-01 21:42:56 +02:00
Patrick Goldinger
c51a787ac4
Fix import extension intents for Firefox 2024-06-01 21:11:23 +02:00
lm41
baf2cbcd13
Add share import handler for .flex files 2024-05-31 18:01:03 +02:00
lm41
1edb90b0f7
change flex file importer mimetype to application/vnd.florisboard.extension+zip 2024-05-31 14:31:19 +02:00
Patrick Goldinger
0a4a4418ca
Revamp theme settings screen 2024-05-13 01:53:28 +02:00
Patrick Goldinger
2c653853e2
Add basic support for importing flex files from the file explorer 2024-05-13 00:30:18 +02:00
Lars Mühlbauer
6f169997e9
Migrate Settings UI to Material 3 (#2467)
* implement material3 for the settings ui

* fix chip colors

* fix statusbar color

* fix aboutlibraries color

* fix alignment of subcheckboxen

* fix wrong card colors

* Update cornershape of the dropdown menu

* update ScrollableModifiers to material 3

* better card and background colors

* update jetpref

* change contrast of outlined cards

* apply suggestions

* implement suggestions

* add corners on text background in the theme editor

* apply the systembar color for the navbar

* set material you as default on android 12+

* fix card content padding

* Fix status bar color not adapting to navbar color state

* update jetpref dependency to 0.2.0-beta01

---------

Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>
2024-05-08 00:29:42 +02:00
Patrick Goldinger
f2e76cc72a
Fix emoji suggestion logic (#2462)
* Rework emoji suggestion (#2460)

* Apply suggestions from code review

* Fix emoji suggestions caring about capitalization
2024-05-03 20:37:06 +02:00
Lars Mühlbauer
3da59cc94b
Add clipboard history to backup (#2458)
* Implement backup/restore clipboard history

* Fix duplicate clipboard items when merging the same archive multiple times

* Apply suggestions

* Update UI

* Implement backup of media clipboard history items.

* Implement restore and add strings; apply suggestions

* change from popBackStack() to navigateUp()
2024-04-29 21:14:06 +02:00
Patrick Goldinger
cf7f6f5fe2
Release v0.4.0-beta02 2024-04-20 17:41:22 +02:00
Lars Mühlbauer
7724b07a75
Fix missing beta variant build issue (#2450) 2024-04-20 16:52:56 +02:00
Patrick Goldinger
30750d7842
Merge pull request #2448 from florisboard/fix-material-you-colors
Add new Material You surface colors
2024-04-20 16:24:19 +02:00
Kevin
7351a8bfa9
Implement smooth scrollbar in emoji palette (#2446)
* implement smooth scrollbar

* Code style and function visibility adjustments

* Apply suggestions from code review

Formatting

Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>
Co-authored-by: Lars Mühlbauer <59062169+lm41@users.noreply.github.com>

* Update app/src/main/kotlin/dev/patrickgold/florisboard/lib/compose/ScrollableModifiers.kt

Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>

---------

Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>
Co-authored-by: Lars Mühlbauer <59062169+lm41@users.noreply.github.com>
2024-04-19 12:45:35 +02:00
Patrick Goldinger
7df9a93cb9
Fix issue with auto-mirroring of dropdown-like buttons 2024-04-19 12:42:56 +02:00
Patrick Goldinger
522f9a8153
Add new Material You surface colors
The following color names are now available:
- surfaceBright
- surfaceDim
- surfaceContainer
- surfaceContainerHigh
- surfaceContainerHighest
- surfaceContainerLow
- surfaceContainerLowest

These colors have replaced the color name "surface", which has been removed.

See section "Surfaces" in the blog entry https://material.io/blog/material-3-compose-1-2 for more info
2024-04-19 12:42:22 +02:00
Patrick Goldinger
5bff051d41
Fix FlorisDropdownMenu arrows being inverse in direction 2024-04-16 21:30:35 +02:00
Patrick Goldinger
0167e1231f
Merge pull request #2439 from florisboard/switch-to-rust
Switch native code to Rust
2024-04-07 20:29:31 +02:00
Patrick Goldinger
97bca076e2
Fix Rust toolchain locating issues 2024-04-07 16:26:39 +02:00
Patrick Goldinger
83ec842196
Update CONTRIBUTING.md 2024-04-07 15:23:41 +02:00
Lars Mühlbauer
9c25b7f7a3
Switch to ImageVector icons (#2432)
* Remove (most) drawables and refactor codebase to use androidx.material.icons instead

* use ImageVector for ButtonBar

* use the new vectorRessource function instead of jeticon

* resolve build error

* Switch to rc jetpref

* Apply suggestions
2024-04-07 13:40:22 +02:00
Patrick Goldinger
4d78110a56
Update ROADMAP.md 2024-04-07 11:47:16 +02:00
Patrick Goldinger
2b1dd31ad7
Upgrade Gradle to 8.4 / Upgrade AGP to 8.3.1 2024-04-05 02:11:26 +02:00
Patrick Goldinger
c5d1d3b31e
Add Rust build support 2024-04-05 01:35:04 +02:00
Patrick Goldinger
c198e8b376
Remove cpp native code from app 2024-04-04 17:48:52 +02:00
Patrick Goldinger
c5e7fea8f2
Remove florisboard/nlp submodule 2024-04-04 17:46:24 +02:00
Patrick Goldinger
397ef1a150
Add emoji data for most important languages (#2437) 2024-04-03 17:02:18 +02:00
Siddhesh Naik
bdd8f660c5
Add Emoji Suggestions for a More Expressive User Experience (#2385)
* Add Emoji Suggestions for a More Expressive User Experience

- Implement EmojiSuggestionProvider:
  - Manages emoji suggestion tasks, including initialization and maintenance of supported emojis.
  - Generates and returns suggestions based on user input and preferences.
- Updates in NlpManager to Include Emoji Suggestions:
  - Adds emoji suggestions when applicable and available.
- Create Custom EmojiSuggestionCandidate Class:
  - Encapsulates individual emoji suggestions for seamless integration.

Future Actions:
- Introduce Espresso tests in Florisboard to validate the emoji suggestion flow.

* Fix review comments

* Addressed review comments

- Added logic to dynamically get the locale file.
- Currently only supports English as related files are added.
- To support other locales in future, we can just add the related file.
- Added en.txt and en_US.txt and updated root.txt to match emojicon 44.1
  version.
2024-04-03 16:43:17 +02:00
Patrick Goldinger
632c4a7134
Merge pull request #2422 from florisboard/fix-clipboard-history-large-item-handling
Fix huge clipboard text items causing clipboard history crash
2024-03-23 15:15:23 +01:00
Patrick Goldinger
43e618333a
Fix huge clipboard text items causing clipboard history crash (#2420) 2024-03-15 23:55:49 +01:00
Patrick Goldinger
6e1c7716dc
Add generated schema 2 of clipboard database 2024-03-15 19:43:55 +01:00
Patrick Goldinger
b2a1e82963
Release v0.4.0-beta01 2024-03-10 23:09:01 +01:00
florisboard-bot
0dd1f90c83 Update translations from Crowdin 2024-03-10 22:59:09 +01:00
Lars Mühlbauer
22b7a675e4
Modularize lib.kotlin (#2404)
* extract dev.patrickgold.florisboard.lib.kotlin to org.florisboard.lib.kotlin

* apply review suggestions
2024-03-07 04:57:31 +01:00
Lars Mühlbauer
74dd67642c
Fix random rotated images in threema (#2369)
* fix random rotated images in threema

* add filter for the projection

* do not filter only for orientation request but also for every other column

* Apply the suggestion

* get the orientation of the image on insert
2024-03-07 00:46:36 +01:00
Patrick Goldinger
44f0c9cd89
Merge pull request #2397 from vorgoron/feature/udmurt-layout
Add Udmurt layouts.
2024-02-29 17:13:19 +01:00
Lars Mühlbauer
28fdb423b4
Fix #2309, #2134, #2112, #2378 and some deprecation warnings (#2388)
* emoji history visibility when locked fix (#2309)

* Add POST_NOTIFICATIONS permission

* remove deprecation warning

* add better naming for readability

* rename QabType to QuickActionBarType for better readability

* add smartbar vibrations (#2134)

* add share to clipboard

* remove strings

* Add Notification permission to startup menu (#2378)

To display Notifications on Android 13+ the app nust request permission to do so.

* remove deprecation warnings (use defaultDeserializer instead of default)

* Rework NotificationPermissionState handeling on Android 13+.
If the permission is NOT_SET (the user installed the app when the permission wasn't necessary), restart the SetupScreen or add this option to the SetupScreen.
If the permission was granted or denied, the user will not be asked again even if he revokes the permission later in the settings.

* Add comments/docs to the NotificationSetup code

* Revert "remove strings"

This reverts commit ee8a62d647.

* fix crash when InputFeedbackManager is not initialized

* apply the usual formatting nitpicks

* Add the bottom sheet to CopyToClipboardActivity

* add strings

* reformat file

* fix resource context not initialized error

* apply the patch of patrick@patrickgold.dev;
Enhance the bottom sheet with swipe gestures;

* Update app/src/main/kotlin/dev/patrickgold/florisboard/FlorisCopyToClipboardActivity.kt

Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>

* Update app/src/main/res/values/themes.xml

Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>

---------

Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>
2024-02-29 16:41:23 +01:00
Grigory Grigorev
de169e9d0d Add udmurt layouts 2024-02-18 19:30:28 +04:00
Patrick Goldinger
ffbe7696a4
Merge pull request #2396 from florisboard/upgrade-project-dependencies
Upgrade project dependencies
2024-02-15 23:08:18 +01:00
Patrick Goldinger
57254e0ebe
Upgrade about library and fix crash in third-party licenses screen 2024-02-15 03:16:28 +01:00
Patrick Goldinger
4b671b5794
Fix additional Kotlin migration issues 2024-02-15 02:39:47 +01:00
Patrick Goldinger
9cd413f2f3
Fix Android API level issues and suppress compose material import lints 2024-02-15 02:36:13 +01:00