Skip to content

Commit f9dc5dc

Browse files
authored
Merge branch 'master' into weblate-fossify-clock
2 parents 28c2f81 + 6d37900 commit f9dc5dc

485 files changed

Lines changed: 883 additions & 1191 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,42 @@
1-
# Simple Clock
2-
<img alt="Logo" src="graphics/icon.png" width="120" />
1+
# Fossify Clock
2+
<img alt="Logo" src="graphics/icon.webp" width="120" />
33

4-
This clock app has multiple functions related to timing. It can be used as a clock widget or as a alarm clock. It is made to help you regulate your daily life and sleep better. You can also use the stopwatch in this app to count your time when you are running for healthy lifestyle or for any other purpose. This app can also be placed on your home screen for easy navigation.
4+
Introducing Fossify Clock – the ultimate timekeeping companion designed to enhance your daily routines and promote better sleep habits. With a multitude of functions tailored to your needs, Fossify Clock seamlessly integrates into your life, offering unparalleled convenience and versatility.
55

6-
As a clock widget you can enable displaying times from other time zones, or use the simple, but customizable and resizable clock widget. The text color of the clock widget can be customized, as well as the color and the alpha of the background. You can also change the shape of clock widget according to your choice and show it on the home screen.
6+
**⌚ MULTIFUNCTIONAL TIMEKEEPING:**
7+
Experience the power of versatile time management with Fossify Clock. From serving as a clock widget to functioning as an alarm clock and stopwatch, this app is your go-to tool for regulating your daily activities and improving your overall lifestyle.
78

8-
The alarm contains all the expected features as day selecting, vibration toggling, ringtone selecting, snooze or adding a custom label. Waking up will be a pleasure. It supports as many alarms as you want, so there won't be any more excuses for not waking up and sleep better :) Gradual volume increasing is supported too, enabled by default. A customizable Snooze button is available too, just in case you really had a good reason for using it. The alarm clock provided by this app as simple as it can get. You simply have to add how many times you want and turn them on. During this, you can also take help from a guide built in this alarm clock app to help you navigate through this app to sleep better. You can sleep better so this app can wake you up on the set time without disturbing your lifestyle. This alarm can be placed on the home screen to make it easy for you to access the alarm while you can work on other things on your device. The main goal of keeping the alarm in this clock widget is to help you schedule your time more effectively.
9+
**⏰ FEATURE-RICH ALARM:**
10+
Wake up refreshed with Fossify Clock's comprehensive alarm features. Set multiple alarms with options like day selection, vibration toggle, custom labels and ringtone customization. Enjoy gradual volume increase and a customizable snooze button for a pleasant waking experience. With a user-friendly interface, setting up alarms has never been easier.
911

10-
With the stopwatch you can easily measure a longer period of time, or individual laps. You can sort the laps in a few different ways. It contains optional vibrations on button presses too, just to let you know that the button was pressed in case you cannot look at the device for some reason, or you are in a hurry. This stopwatch can help you getting in shape if you are doing yoga or having a run in the park. You can put the stopwatch on home screen so that you can easily access it and alter it according to your needs without opening the menu and finding it.
12+
**⏱️ CONVENIENT STOPWATCH:**
13+
Track your activities with precision using Fossify Clock's stopwatch function. Measure longer periods or individual laps effortlessly. You can also sort your laps in ascending or descending order.
1114

12-
You can easily setup a timer to be notified of some events. You can both change its ringtone, or toggle vibrations. You will never burn that pizza again. The timer countdown can be paused too, not just stopped.
15+
**⏳ PRECISE TIMER FUNCTIONALITY:**
16+
Stay on top of your tasks with Fossify Clock's versatile timer feature. Customize ringtone preferences, toggle vibrations, and pause countdowns to suit your needs. Whether you're timing cooking intervals, managing study sessions, or ensuring timely breaks, Fossify Clock has you covered with precision and ease.
1317

14-
Additional features include for example preventing the device from falling asleep while the app is in foreground or toggling between 12 or 24 hour time format. Last but not least you can decide if the week should start on Sunday, or Monday.
18+
**🌈 CLOCK WIDGET WITH CUSTOMIZABLE FEATURES:**
19+
Transform your home screen with Fossify Clock's customizable clock widget. Adjust text color, background color, and transparency. Choose between analog or digital clock to suit your style and easily access essential time information at a glance.
1520

16-
It comes with material design and dark theme by default, provides great user experience for easy usage. The lack of internet access gives you more privacy, security and stability than other apps. The dark theme in this clock widget can help you setting your alarm clock at night without blinding your eyes with sharp color of your mobile alarm.
21+
**🎨 CUSTOMIZABLE INTERFACE AND THEMES:**
22+
Enjoy a personalized experience with Fossify Clock's material design and dark theme options. Tailor the app to your preferences with customizable colors and themes, enhancing usability and reducing eye strain, especially in low-light environments.
1723

18-
It comes with material design and dark theme by default, provides great user experience for easy usage. The lack of internet access gives you more privacy, security and stability than other apps.
24+
**🔒 PRIVACY-FIRST APPROACH:**
25+
Rest assured knowing your privacy is protected with Fossify Clock's offline operation. Experience maximum privacy, security, and stability without sacrificing functionality or convenience.
1926

20-
Contains no ads or unnecessary permissions. It is fully opensource, provides customizable colors.
27+
**🌐 AD-FREE & OPEN-SOURCE:**
28+
Say goodbye to intrusive ads and unnecessary permissions. Fossify Clock is ad-free, fully open-source, and grants you complete control over your timekeeping experience.
2129

22-
Check out the full suite of apps here:
23-
https://github.com/FossifyOrg
30+
Upgrade your time management skills, optimize your routines, and prioritize better sleep with Fossify Clock. Download now and take control of your time like never before.
2431

25-
<div style="display:flex;">
26-
<img alt="App image" src="fastlane/metadata/android/en-US/images/phoneScreenshots/1_en-US.jpeg" width="30%">
27-
<img alt="App image" src="fastlane/metadata/android/en-US/images/phoneScreenshots/2_en-US.jpeg" width="30%">
28-
<img alt="App image" src="fastlane/metadata/android/en-US/images/phoneScreenshots/3_en-US.jpeg" width="30%">
32+
➡️ Explore more Fossify apps: https://www.fossify.org<br>
33+
➡️ Open-Source Code: https://www.github.com/FossifyOrg<br>
34+
➡️ Join the community on Reddit: https://www.reddit.com/r/Fossify<br>
35+
➡️ Connect on Telegram: https://t.me/Fossify
36+
37+
<div align="center">
38+
<img alt="App image" src="fastlane/metadata/android/en-US/images/phoneScreenshots/1_en-US.png" width="30%">
39+
<img alt="App image" src="fastlane/metadata/android/en-US/images/phoneScreenshots/2_en-US.png" width="30%">
40+
<img alt="App image" src="fastlane/metadata/android/en-US/images/phoneScreenshots/3_en-US.png" width="30%">
2941
</div>
3042

app/build.gradle.kts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import org.jetbrains.kotlin.gradle.plugin.mpp.pm20.util.archivesName
12
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
23
import org.jetbrains.kotlin.konan.properties.Properties
34
import java.io.FileInputStream
@@ -6,7 +7,6 @@ plugins {
67
alias(libs.plugins.android)
78
alias(libs.plugins.kotlinAndroid)
89
alias(libs.plugins.ksp)
9-
base
1010
}
1111

1212
val keystorePropertiesFile: File = rootProject.file("keystore.properties")
@@ -15,10 +15,6 @@ if (keystorePropertiesFile.exists()) {
1515
keystoreProperties.load(FileInputStream(keystorePropertiesFile))
1616
}
1717

18-
base {
19-
archivesName.set("clock")
20-
}
21-
2218
android {
2319
compileSdk = project.libs.versions.app.build.compileSDKVersion.get().toInt()
2420

@@ -28,6 +24,7 @@ android {
2824
targetSdk = project.libs.versions.app.build.targetSDK.get().toInt()
2925
versionName = project.libs.versions.app.version.versionName.get()
3026
versionCode = project.libs.versions.app.version.versionCode.get().toInt()
27+
archivesName.set("clock-$versionCode")
3128
ksp {
3229
arg("room.schemaLocation", "$projectDir/schemas")
3330
}
@@ -68,7 +65,7 @@ android {
6865
flavorDimensions.add("variants")
6966
productFlavors {
7067
register("core")
71-
register("fdroid")
68+
register("foss")
7269
register("prepaid")
7370
}
7471

@@ -77,11 +74,15 @@ android {
7774
}
7875

7976
compileOptions {
80-
val currentJavaVersionFromLibs = JavaVersion.valueOf(libs.versions.app.build.javaVersion.get().toString())
77+
val currentJavaVersionFromLibs = JavaVersion.valueOf(libs.versions.app.build.javaVersion.get())
8178
sourceCompatibility = currentJavaVersionFromLibs
8279
targetCompatibility = currentJavaVersionFromLibs
8380
}
8481

82+
dependenciesInfo {
83+
includeInApk = false
84+
}
85+
8586
tasks.withType<KotlinCompile> {
8687
kotlinOptions.jvmTarget = project.libs.versions.app.build.kotlinJVMTarget.get()
8788
}
@@ -95,7 +96,7 @@ android {
9596
}
9697

9798
dependencies {
98-
implementation(libs.simple.tools.commons)
99+
implementation(libs.fossify.commons)
99100

100101
implementation(libs.bundles.lifecycle)
101102
implementation(libs.androidx.constraintlayout)

app/schemas/com.simplemobiletools.clock.databases.AppDatabase/1.json

Lines changed: 0 additions & 82 deletions
This file was deleted.

app/schemas/com.simplemobiletools.clock.databases.AppDatabase/2.json renamed to app/schemas/org.fossify.clock.databases.AppDatabase/2.json

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<string name="app_launcher_name">Clock_debug</string>
3+
<string name="app_launcher_name" translatable="false">Clock_debug</string>
44
</resources>

app/src/main/AndroidManifest.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
android:theme="@style/SplashTheme">
4242

4343
<intent-filter>
44-
<action android:name="com.simplemobiletools.clock.TOGGLE_STOPWATCH" />
44+
<action android:name="org.fossify.clock.TOGGLE_STOPWATCH" />
4545
<action android:name="android.intent.action.SHOW_ALARMS" />
4646
<action android:name="android.intent.action.SHOW_TIMERS" />
4747
<action android:name="android.intent.action.SET_ALARM" />
@@ -102,14 +102,14 @@
102102
</activity>
103103

104104
<activity
105-
android:name="com.simplemobiletools.commons.activities.AboutActivity"
105+
android:name="org.fossify.commons.activities.AboutActivity"
106106
android:configChanges="orientation"
107107
android:exported="false"
108108
android:label="@string/about"
109109
android:parentActivityName=".activities.MainActivity" />
110110

111111
<activity
112-
android:name="com.simplemobiletools.commons.activities.CustomizationActivity"
112+
android:name="org.fossify.commons.activities.CustomizationActivity"
113113
android:configChanges="orientation"
114114
android:exported="false"
115115
android:label="@string/customize_colors"
@@ -348,10 +348,10 @@
348348

349349
<activity-alias
350350
android:name=".activities.SplashActivity.Green"
351-
android:enabled="false"
351+
android:enabled="true"
352352
android:exported="true"
353-
android:icon="@mipmap/ic_launcher_green"
354-
android:roundIcon="@mipmap/ic_launcher_green"
353+
android:icon="@mipmap/ic_launcher"
354+
android:roundIcon="@mipmap/ic_launcher"
355355
android:targetActivity=".activities.SplashActivity">
356356

357357
<intent-filter>
@@ -418,10 +418,10 @@
418418

419419
<activity-alias
420420
android:name=".activities.SplashActivity.Orange"
421-
android:enabled="true"
421+
android:enabled="false"
422422
android:exported="true"
423-
android:icon="@mipmap/ic_launcher"
424-
android:roundIcon="@mipmap/ic_launcher"
423+
android:icon="@mipmap/ic_launcher_orange"
424+
android:roundIcon="@mipmap/ic_launcher_orange"
425425
android:targetActivity=".activities.SplashActivity">
426426
<intent-filter>
427427
<action android:name="android.intent.action.MAIN" />
19.7 KB
Loading

app/src/main/kotlin/com/simplemobiletools/clock/services/SnoozeService.kt

Lines changed: 0 additions & 19 deletions
This file was deleted.

app/src/main/kotlin/com/simplemobiletools/clock/App.kt renamed to app/src/main/kotlin/org/fossify/clock/App.kt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.simplemobiletools.clock
1+
package org.fossify.clock
22

33
import android.app.Application
44
import android.app.NotificationManager
@@ -11,17 +11,17 @@ import androidx.lifecycle.LifecycleObserver
1111
import androidx.lifecycle.OnLifecycleEvent
1212
import androidx.lifecycle.ProcessLifecycleOwner
1313
import com.facebook.stetho.Stetho
14-
import com.simplemobiletools.clock.extensions.*
15-
import com.simplemobiletools.clock.helpers.Stopwatch
16-
import com.simplemobiletools.clock.helpers.Stopwatch.State
17-
import com.simplemobiletools.clock.models.TimerEvent
18-
import com.simplemobiletools.clock.models.TimerState
19-
import com.simplemobiletools.clock.services.StopwatchStopService
20-
import com.simplemobiletools.clock.services.TimerStopService
21-
import com.simplemobiletools.clock.services.startStopwatchService
22-
import com.simplemobiletools.clock.services.startTimerService
23-
import com.simplemobiletools.commons.extensions.checkUseEnglish
24-
import com.simplemobiletools.commons.extensions.showErrorToast
14+
import org.fossify.clock.extensions.*
15+
import org.fossify.clock.helpers.Stopwatch
16+
import org.fossify.clock.helpers.Stopwatch.State
17+
import org.fossify.clock.models.TimerEvent
18+
import org.fossify.clock.models.TimerState
19+
import org.fossify.clock.services.StopwatchStopService
20+
import org.fossify.clock.services.TimerStopService
21+
import org.fossify.clock.services.startStopwatchService
22+
import org.fossify.clock.services.startTimerService
23+
import org.fossify.commons.extensions.checkUseEnglish
24+
import org.fossify.commons.extensions.showErrorToast
2525
import org.greenrobot.eventbus.EventBus
2626
import org.greenrobot.eventbus.Subscribe
2727
import org.greenrobot.eventbus.ThreadMode

0 commit comments

Comments
 (0)