Skip to content

Releases: mauromascarenhas/Biblioteca_UFABC

UFABC Library v2.1.27

11 Jun 01:17
Compare
Choose a tag to compare
  • Improved synchronization functionality:
    • Improved SyncWorker: now it checks whether the synchronization was successful or not;
    • "Self-killing" trigger (5 min) has been moved to SyncService's start moment;
  • Fixed bug where it could request "Security Exception" for custom ROMs more than once (at first launch);
  • Updated project dependencies to their latest version;
  • Minor improvements and fixes.

UFABC Library v2.0b

02 Oct 17:26
Compare
Choose a tag to compare

What's new:

Added:

  1. New book image placeholders (for renewal and reservation screen).
  2. Synchronization "safety lock" so as to avoid infinite loops due to concurrence issues (race condition).
  3. Alert message for custom rom devices so as to avoid synchronization issues (caused by severe safety and energy management options).
  4. DarkTheme support (moved to DayNight Theme).
  5. New iconset compatible with dark themes.

Improved:

  1. UI improvements.
    1. Main screen.
      1. Added new login/logoff icon.
      2. Removed navigation drawer.
        1. Navigation menu has been moved to the bottom of the main screen.
        2. Additional options available in navigation drawer have been moved to the title bar options menu.
      3. Book renewal, book reservation and recent acquisitions share the same screen (you can navigate using the bottom menu).
      4. Most messages are no longer displayed in a box or through toasts - their presentation methods have been migrated to customized snack messages.
      5. Book search box no longer exists. New searchs must be made through the title bar.
      6. "Reserved book" card "Delete" option changed to "Cancel".
      7. Added "Last updated" (last synchronization) information in Book Renewal view.
    2. Book details screen.
      1. Adjusted "Loading" message box margins.
      2. "Available copies" have their colours set according to the amount of books available for reservation.
    3. Book search screen.
      1. Most messages are no longer displayed in a box or through toasts - their presentation methods have been migrated to customized snack messages.
    4. Search filters screen.
      1. Adjusted margins of some elements.

Fixed:

  1. Synchronization issues when opening the app or running it for the very first time.

UNDER THE HOOD

Added:

  1. Implemented MVVM pattern using Androidx's own architecture components.
  2. "MessageFragment" : Allows it to set a customized message, icon and an action button.
  3. Custom Snackbar implementation.

Improved:

  1. Since the whole application have been rewritten from scratch in Kotlin, the source code has become smaller and easier to understand.
  2. Most activities have been migrated to Fragments due to their nature, making it easier to debug and maintain their data streams, since they have access to the same ViewModel data.
  3. Single database to store every data related to book renewal and home cache.
  4. Synchronization is no longer directly delegated to AlarmManager, but to WorkManager instead (which made it possible to define execution constraints, guaranteeing the task execution).
  5. Utility methods no longer request "Context" as argument since the Application's context is publicly available, except in extraordinary situations.
  6. "configureWebView" method also sets custom WebViewClient.
  7. Implemented LiveData in custom WebViewClients and ViewAdapters when necessary.
  8. Renewal sync data is always done asynchronously.
  9. Upgraded Glide and Android Room version.
  10. Book renewal date is no longer stored as String.
  11. Update Android SDK to version 30 (Q).
  12. Replaced deprecated AsyncTask calls by Kotlin Coroutines.
  13. Updated source code to Kotlin 1.4.10 style.
  14. Replaced "activity!!" by requireActivity() where possible (same for context!!).
  15. Set mainLooper for every Handler instance.
  16. Update UFABC library's web url so as to handle HTTPS calls.
  17. (Security) The application no longer supports clear text trafic.
  18. SearchActivity no longer triggers the EditBox on internet connection issues (when "try again" button is clicked).
  19. Some search filters no loger causes the search to crash when search options are outdated.
  20. Fixed filter order in search_options_types.xml.

Removed:

  1. Old sync-wise Broadcast Receivers.
  2. Data-acquisition functions from "RenewalWebClient" class.
  3. Unnecessary activities.
  4. "Variables" class.
  5. Unnecessary definitions in dimens.xml.

UFABC Library v1.8

08 Jan 03:30
Compare
Choose a tag to compare

What's new:

  1. Hotfix: Scheduled book synchronization (so as to make it compatible to the login system).

UFABC Library v1.7

19 Nov 04:23
Compare
Choose a tag to compare

What's new:

  1. Fixed login issue.
  2. Login action is no longer fired if the user has requested logout.

UFABC Library v1.6

22 Sep 17:29
Compare
Choose a tag to compare

This is a stable release which wraps new features and improvements from v1.5 (which was only available for beta testers) and some additional improvements and bug fixes.

What's new:

  1. New synchronization scheduler (under the hood).
  2. Synchronization is no longer stuck on "infinite loop", since a three minute deadline has been given to the synchronization service execution.
  3. Next sync task is performed after fifteen exact minutes if it fails (under the hood).
  4. Sync reminder interval defined for each five days (which will be displayed if only it hasn't been synched yet).
  5. JavaScript execution call is slightly faster.
  6. Books which the devolution is scheduled for the same day are grouped in the same notification.
  7. Synchronization settings are updated on preferences change.
  8. Synchronization permissions are checked every time the app/service starts so as to check whether the user has revoked them through the device settings or not.

From v1.5:

  1. Added activity to visualize lended books when offline (this feature depends on the synchronization service being enabled).
  2. Fixed login issues (infinite loop in login screen).
  3. Uploaded signed APK (using v1 and v2 signature scheme).

UFABC Library v1.5

03 Sep 02:13
Compare
Choose a tag to compare

This release has focused on bringing bug fixes and a new offline interaction feature.

What's new:

  1. Added activity to visualize lended books when offline (this feature depends on the synchronization service being enabled).
  2. Fixed login issues (infinite loop in login screen).
  3. Uploaded signed APK (using v1 and v2 signature scheme).

UFABC Library v1.4

28 Jun 04:14
Compare
Choose a tag to compare
  1. [ CRITICAL ] Fixed reserved books exibition.

UFABC Library v1.3

14 Jun 21:03
Compare
Choose a tag to compare

Since the release v1.2 was made available only in beta channel, this one also incorporates its new features:

  1. New sync feature: This app is able to sync with your credentials automatically (according to the user's settings).
  2. Added an option to set the synchronization interval (in days).
  3. The user may opt to log in automatically when the application is started from launcher.
  • WARNING: In order to this new feature work properly, you will have to allow the application to draw over other apps (Your user experience will not be affected).

UFABC Library v1.2 [BETA only]

14 Jun 20:32
Compare
Choose a tag to compare
  1. New sync feature: This app is able to sync with your credentials automatically (according to the user's settings).
  2. Added an option to set the synchronization interval (in days).
  • WARNING: In order to this new feature work properly, you will have to allow the application to draw over other apps (Your user experience will not be affected).

UFABC Library v1.1

03 Jun 05:21
Compare
Choose a tag to compare

This is a security fix release:

  1. This app no longer makes use of JavaScript interfaces, avoiding code injection according to Android guidelines.
  2. Unfortunately, this app is no longer compatible to versions prior to 4.4 (SDK v19).