Skip to content

Commit

Permalink
Merge branch 'main' into feature/data-contract-based-suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis authored Jan 21, 2025
2 parents 5855c1f + bbba282 commit dab898b
Show file tree
Hide file tree
Showing 73 changed files with 73 additions and 73 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/App.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Handles application-level initialization and sets the default night mode based on user configuration.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/activities/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Implements the main activity with a custom action bar, ViewPager navigation, and dynamic UI adjustments.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/extensions/CommonsContext.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Functions and properties for accessing shared preferences and BaseConfig.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/extensions/Context.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Functions for retrieving configuration settings and calculating color based on theme and background preferences.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/extensions/ContextStyling.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Functions for determining and retrieving proper text and colors based on user settings.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/extensions/Drawable.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Extends the Drawable class to apply a color filter to a drawable using a specified color.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/extensions/Int.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Functions for manipulating colors used within the application.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/extensions/RecyclerView.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Adds a custom item decoration (divider) to a RecyclerView, using a specified drawable and custom margins.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/extensions/View.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Utility functions for managing visibility and haptic feedback in Android views.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A test class to prepare for application testing.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/helpers/BaseConfig.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A configuration helper class for managing app settings.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/helpers/CommonsConstants.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Common constants that are used throughout helper classes and objects.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/helpers/Config.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A class that extends BaseConfig to manage additional app settings.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/helpers/Constants.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Constants that are used throughout helper classes and objects.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/helpers/CustomAdapter.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A RecyclerView adapter that supports multiple view types.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/helpers/DatabaseHelper.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A helper to facilitate database calls for Scribe keyboard commands.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/helpers/HintUtils.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A helper to facilitate resetting application hints if the user would like to see them again.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/helpers/KeyboardBase.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Custom keyboard implementation for handling keyboard layouts, rows and keys with XML-based configuration.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/helpers/PreferencesHelper.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A helper to facilitate setting preferences for individual language keyboards.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/helpers/RatingHelper.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A helper to facilitate rating the application on Google Play or F-Droid.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/helpers/ShareHelper.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A helper to facilitate sharing of the application and contacting the team.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Interface variables for English language keyboards.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Interface variables for French language keyboards.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Interface variables for German language keyboards.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Interface variables for Italian language keyboards.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Interface variables for Portuguese language keyboards.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Interface variables for Russian language keyboards.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Interface variables for Spanish language keyboards.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Interface variables for Swedish language keyboards.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/models/ItemsViewModel.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The item view model class used in the application.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/models/SwitchItem.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The switch item model class used in the application.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/models/TextItem.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The text item model class used in the application.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/navigation/Screen.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

package be.scri.navigation

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/services/EnglishKeyboardIME.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The input method (IME) for the English language keyboard.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/services/FrenchKeyboardIME.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The input method (IME) for the French language keyboard.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/services/GeneralKeyboardIME.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The base keyboard input method (IME) imported into all language keyboards.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/services/GermanKeyboardIME.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The input method (IME) for the German language keyboard.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/services/ItalianKeyboardIME.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The input method (IME) for the Italian language keyboard.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The input method (IME) for the Portuguese language keyboard.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/services/RussianKeyboardIME.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The input method (IME) for the Russian language keyboard.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/services/SpanishKeyboardIME.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The input method (IME) for the Spanish language keyboard.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/services/SwedishKeyboardIME.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The input method (IME) for the Swedish language keyboard.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/ui/common/ScribeBaseScreen.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* This is the base composable for all the screens.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

package be.scri.ui.common.appcomponents

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

package be.scri.ui.common.appcomponents

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

package be.scri.ui.common.appcomponents

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* Provides items to the navigation bar.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The bottom bar that is displayed at the bottom of the screen for navigation purposes.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A composable component that displays a row with a title as well as leading and trailing icons.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A composable component that displays a clickable item with a title, optional description and an arrow icon.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A composable function for a screen layout in the main activity.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A composable function that displays a list of items inside a card container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A composable function that displays a title above a list of items inside a card container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A composable component that displays a switch alongside a title and description.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/ui/models/ScribeItem.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A class defining different types of items used in the application interface.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/ui/models/ScribeItemList.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* A class defining lists of ScribeItem elements.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/ui/screens/InstallationScreen.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The installation page of the application with details for installing Scribe keyboards and downloading data.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The settings sub menu page for languages that allows for customization of language keyboard interfaces.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The about screen that displays the privacy policy for the application.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/ui/screens/ThirdPartyScreen.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The about screen to display third-party legal information for software used in the application.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/ui/screens/WikimediaScreen.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The about screen for describing the relationship between Scribe and the Wikimedia movement.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/ui/screens/about/AboutScreen.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The about page of the application with links to the community as well as sub pages for detailed descriptions.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/be/scri/ui/screens/about/AboutUtil.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* This file provide utility functions for the about page
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* The settings tab for the application including settings for language keyboards as sub menus.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* This file provides utility functions for settings page.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: GPL-3.0-or-later

/**
* This files handles the state and business logic for the settings screen.
Expand Down
Loading

0 comments on commit dab898b

Please sign in to comment.