Merge pull request #2 from SimpleMobileTools/master

fetch latets version
This commit is contained in:
Aravinth
2020-08-23 09:29:26 +00:00
committed by GitHub
10 changed files with 62 additions and 44 deletions

View File

@@ -1,6 +1,13 @@
Changelog Changelog
========== ==========
Version 6.10.0 *(2020-08-08)*
----------------------------
* Open the daily view at clicking on a day at the monthly widget
* Go back to the search results at opening an event and using Back
* Added some translation, stability and UX improvements
Version 6.9.7 *(2020-07-06)* Version 6.9.7 *(2020-07-06)*
---------------------------- ----------------------------

View File

@@ -18,8 +18,8 @@ android {
applicationId "com.simplemobiletools.calendar.pro" applicationId "com.simplemobiletools.calendar.pro"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 29 targetSdkVersion 29
versionCode 180 versionCode 181
versionName "6.9.7" versionName "6.10.0"
multiDexEnabled true multiDexEnabled true
setProperty("archivesBaseName", "calendar") setProperty("archivesBaseName", "calendar")
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
@@ -64,7 +64,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.simplemobiletools:commons:5.29.7' implementation 'com.simplemobiletools:commons:5.29.20'
implementation 'joda-time:joda-time:2.10.1' implementation 'joda-time:joda-time:2.10.1'
implementation 'androidx.multidex:multidex:2.0.1' implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta6' implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta6'

View File

@@ -88,6 +88,8 @@ class EventActivity : SimpleActivity() {
private var mSelectedContacts = ArrayList<Attendee>() private var mSelectedContacts = ArrayList<Attendee>()
private var mStoredEventTypes = ArrayList<EventType>() private var mStoredEventTypes = ArrayList<EventType>()
private var mOriginalTimeZone = DateTimeZone.getDefault().id private var mOriginalTimeZone = DateTimeZone.getDefault().id
private var mOriginalStartTS = 0L
private var mOriginalEndTS = 0L
private lateinit var mEventStartDateTime: DateTime private lateinit var mEventStartDateTime: DateTime
private lateinit var mEventEndDateTime: DateTime private lateinit var mEventEndDateTime: DateTime
@@ -278,17 +280,22 @@ class EventActivity : SimpleActivity() {
newEndTS = second newEndTS = second
} }
val hasTimeChanged = if (mOriginalStartTS == 0L) {
mEvent.startTS != newStartTS || mEvent.endTS != newEndTS
} else {
mOriginalStartTS != newStartTS || mOriginalEndTS != newEndTS
}
val reminders = getReminders() val reminders = getReminders()
if (event_title.value != mEvent.title || if (event_title.value != mEvent.title ||
event_location.value != mEvent.location || event_location.value != mEvent.location ||
event_description.value != mEvent.description || event_description.value != mEvent.description ||
newStartTS != mEvent.startTS ||
newEndTS != mEvent.endTS ||
event_time_zone.text != mEvent.getTimeZoneString() || event_time_zone.text != mEvent.getTimeZoneString() ||
reminders != mEvent.getReminders() || reminders != mEvent.getReminders() ||
mRepeatInterval != mEvent.repeatInterval || mRepeatInterval != mEvent.repeatInterval ||
mRepeatRule != mEvent.repeatRule || mRepeatRule != mEvent.repeatRule ||
mEventTypeId != mEvent.eventType) { mEventTypeId != mEvent.eventType ||
hasTimeChanged) {
return true return true
} }
@@ -401,6 +408,9 @@ class EventActivity : SimpleActivity() {
private fun setupEditEvent() { private fun setupEditEvent() {
val realStart = if (mEventOccurrenceTS == 0L) mEvent.startTS else mEventOccurrenceTS val realStart = if (mEventOccurrenceTS == 0L) mEvent.startTS else mEventOccurrenceTS
val duration = mEvent.endTS - mEvent.startTS val duration = mEvent.endTS - mEvent.startTS
mOriginalStartTS = realStart
mOriginalEndTS = realStart + duration
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN) window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN)
updateActionBarTitle(getString(R.string.edit_event)) updateActionBarTitle(getString(R.string.edit_event))
mOriginalTimeZone = mEvent.timeZone mOriginalTimeZone = mEvent.timeZone

View File

@@ -146,7 +146,10 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
search_holder.background = ColorDrawable(config.backgroundColor) search_holder.background = ColorDrawable(config.backgroundColor)
checkSwipeRefreshAvailability() checkSwipeRefreshAvailability()
checkShortcuts() checkShortcuts()
invalidateOptionsMenu()
if (!mIsSearchOpen) {
invalidateOptionsMenu()
}
} }
override fun onPause() { override fun onPause() {
@@ -154,11 +157,6 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
storeStateVariables() storeStateVariables()
} }
override fun onStop() {
super.onStop()
closeSearch()
}
override fun onDestroy() { override fun onDestroy() {
super.onDestroy() super.onDestroy()
if (!isChangingConfigurations) { if (!isChangingConfigurations) {

View File

@@ -482,10 +482,7 @@ class WeekFragment : Fragment(), WeeklyCalendar {
} }
} }
if (!hadAllDayEvent) { checkTopHolderHeight()
checkTopHolderHeight()
}
addCurrentTimeIndicator(minuteHeight) addCurrentTimeIndicator(minuteHeight)
} }

View File

@@ -60,6 +60,7 @@ class MyWidgetMonthlyProvider : AppWidgetProvider() {
private fun setupDayOpenIntent(context: Context, views: RemoteViews, id: Int, dayCode: String) { private fun setupDayOpenIntent(context: Context, views: RemoteViews, id: Int, dayCode: String) {
(context.getLaunchIntent() ?: Intent(context, SplashActivity::class.java)).apply { (context.getLaunchIntent() ?: Intent(context, SplashActivity::class.java)).apply {
putExtra(DAY_CODE, dayCode) putExtra(DAY_CODE, dayCode)
putExtra(VIEW_TO_OPEN, DAILY_VIEW)
val pendingIntent = PendingIntent.getActivity(context, Integer.parseInt(dayCode), this, 0) val pendingIntent = PendingIntent.getActivity(context, Integer.parseInt(dayCode), this, 0)
views.setOnClickPendingIntent(id, pendingIntent) views.setOnClickPendingIntent(id, pendingIntent)
} }

View File

@@ -246,45 +246,45 @@
<!-- Strings displayed only on Google Playstore. Optional, but good to have --> <!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- App title has to have less than 50 characters. If you cannot squeeze it, just remove a part of it --> <!-- App title has to have less than 50 characters. If you cannot squeeze it, just remove a part of it -->
<string name="app_title">Simple Calendar Pro - Gertaerak &amp; Abisuak</string> <string name="app_title">Simple Calendar Pro - Gertaerak eta abisuak</string>
<!-- Short description has to have less than 80 chars --> <!-- Short description has to have less than 80 chars -->
<string name="app_short_description">Simple mobile 2020 calendar. Schedule planner &amp; appointment reminder for any day</string> <string name="app_short_description">Egutegi sinplea. Edozein egunetarako agenda antolatzailea eta hitzordu-abisuak</string>
<string name="app_long_description"> <string name="app_long_description">
Simple Calendar Pro is a fully customizable, offline calendar designed to do exactly what a calendar should do. <b>No complicated features, unnecessary permissions and no ads!</b> Simple Calendar Pro guztiz pertsonalizatu daitekeen lineaz kanpoko egutegia da, egutegi batek egin beharko lukeena egiteko diseinatua. <b>Eginbide korapilatsurik, beharrezkoa ez den baimenik eta iragarkirik ez!</b>
Whether youre organizing single or recurring events, birthdays, anniversaries, business meetings, appointments or anything else, Simple Calendar Pro makes it <b>easy to stay organized</b>. With an incredible variety of <b>customization options</b> you can customize event reminders, notification sounds, calendar widgets and how the app looks. Gertaerak, urtebetetzeak, urteurrenak, negozio-bilerak, hitzorduak edo dena delakoa antolatu behar baduzu ere, Simple Calendar Pro-rekin <b>erraza da antolatzea</b>. Eskaintzen dituen <b>pertsonalizazio-aukera</b> guztiekin gertaera-abisuak, jakinarazpen soinuak, egutegi-widgetak eta aplikazioaren estiloa pertsonalizatu dezakezu.
Daily, weekly and monthly views make checking your upcoming events &amp; appointments a breeze. You can even view everything as a simple list of events rather than in calendar view, so you <b>know exactly whats coming up in your life and when. </b> Eguneko, asteko eta hilabeteko ikuspegiek erraz egiten dute hurrengo gertaerak eta hitzorduak begiratzea. Gertaeren zerrenda sinplean ere bistaratu dezakezu guztia, egutegi-ikuspegian bistaratu ordez, <b>zure bizitzan zer eta noiz gertatuko den</b> jakin dezazun.
---------------------------------------------------------- ----------------------------------------------------------
<b>Simple Calendar Pro Features &amp; Benefits</b> <b>Simple Calendar Pro Eginbideak eta abantailak</b>
---------------------------------------------------------- ----------------------------------------------------------
✔️ No ads or annoying popups ✔️ Iragarkirik edo laster-leiho nekagarririk ez
✔️ No internet access needed, giving you more privacy &amp; security ✔️ Internet sarbiderik ez da behar, pribatutasun eta segurtasun handiagoa emanez
✔️ Only the bare minimum permissions required ✔️ Gutxieneko baimenak soilik eskatzen ditu
✔️ Emphasis on simplicity does what a calendar needs to do! ✔️ Enfasia sinplizitatean: egutegi batek egin behar duena egiten du!
✔️ Open source ✔️ Kode irekia
✔️ Fully customizable themes &amp; calendar / event widgets ✔️ Guztiz pertsonalizatu daitezkeen gaiak eta egutegi- edota gertaera-widgetak
✔️ Translated into 29 languages ✔️ 29 hizkuntzatara itzulita
✔️ Export settings to .txt files to import to another device ✔️ Esportatu ezarpenak .txt fitxategietara beste gailu batean inportatzeko
✔️ CalDAV calendar sync supported to sync events across devices ✔️ CalDAV egutegi-sinkronizazioa onartzen du, gertaerak gailu artean sinkronizatzeko
✔️ Daily, weekly, monthly, yearly &amp; event views on the calendar ✔️ Eguneko, asteko, hilabeteko, urteko eta gertaera-ikuspegiak egutegian
✔️ Supports exporting &amp; importing events via .ics files ✔️ Gertaerak .ics fitxategien bidez esportatzea eta inportatzea onartzen du
✔️ Set multiple event reminders, customize event reminder sound and vibration ✔️ Ezarri hainbat gertaera-abisu, pertsonalizatu gertaera-abisuaren soinua eta dardara
✔️ Snooze option for reminders ✔️ Atzeratzeko aukera abisuetan
✔️ Easily add holidays, birthdays, anniversaries &amp; appointments ✔️ Gehitu oporrak, urtebetetzeak, urteurrenak eta hitzortuak errazki
✔️ Customize events start time, duration, reminders etc ✔️ Pertsonalizatu gertaerak: hasiera-ordua, iraupena, abisuak eta abar
✔️ Add event attendees to each event ✔️ Gehitu parte-hartzaileak gertaera bakoitzean
✔️ Use as a personal calendar or a business calendar ✔️ Egutegi pertsonala edo lanerako egutegi gisa erabili dezakezu
✔️ Choose between reminders &amp; email notifications to alert you about an event ✔️ Hautatu abisu eta eposta jakinarazpenen artean gertaera baten berri izateko
DOWNLOAD SIMPLE CALENDAR PRO THE SIMPLE OFFLINE CALENDAR WITH NO ADS! DESKARGATU SIMPLE CALENDAR PRO LINEAZ KANPO ERABILI DAITEKEEN IRAGARKIRIK GABEKO EGUTEGI SINPLEA!
<b>Check out the full suite of Simple Tools here:</b> <b>Ikusi Simple Tools-en sorta osoa hemen:</b>
https://www.simplemobiletools.com https://www.simplemobiletools.com
<b>Standalone website of Simple Calendar Pro:</b> <b>Simple Calendar Pro-ren webgune autonomoa:</b>
https://www.simplemobiletools.com/calendar https://www.simplemobiletools.com/calendar
<b>Facebook:</b> <b>Facebook:</b>

View File

@@ -10,7 +10,7 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:4.0.0' classpath 'com.android.tools.build:gradle:4.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "de.timfreiheit.resourceplaceholders:placeholders:0.3" classpath "de.timfreiheit.resourceplaceholders:placeholders:0.3"

View File

@@ -0,0 +1,2 @@
* Fixed some weekly view related glitches
* Added some stability and translation improvements

View File

@@ -0,0 +1,3 @@
* Open the daily view at clicking on a day at the monthly widget
* Go back to the search results at opening an event and using Back
* Added some translation, stability and UX improvements