Commit Graph

2237 Commits

Author SHA1 Message Date
bd985c9cf3 Add Firebase dependencies (#298) 2020-10-14 21:10:03 +02:00
Javier Bueno López
ab0898c571 Indoor Location new module (#287)
* Adding icons and text for manage location

* Adding manage location to main menu

* Adding class to manage location

* Adding view layout to manage location

* Share location switch created

* Basic listener added to switch

* Moving manage location to users menu

* Adding icons and text for manage location

* Adding manage location to main menu

* Adding class to manage location

* Adding view layout to manage location

* Share location switch created

* Basic listener added to switch

* Moving manage location to users menu

* Adding elements to indoor_location view

* Improving indoor_location with default text

* Logic to calculate distance

* Trying to connect to the API.

* Adding model to location distance

* Changing textview to listview

* Making request to MacStore API to get location of Mac

* Search user menu

* New designs manage location activity

* Connecting to swad api

* Connection to swad api working

* Location history showing up in activity

* Adding button and user code to find user

* Sorting locations and saving only one

* Implementing GetLastLocation API method

* Adding location preferences translations

* Adding translations to location menu toast

* Return without error from searching user

* Removing warning

* Adding translations

* Changing permissions

* Changing module name

* Making location serializable

* Changing deprecated implementation

* Cleaning code and refactoring deprecated classes

* Changing location name in menu

* Scanning all wifi networks

* Hiding white activities

* Showing more information in each location

* Fixing bug when searching user

* Fixing available networks sort

* Using roomCode instead of institutionCode

* Changes scheduling tasks

* Deleting dependencies

* Deleting useless import

* Getting correct mac

* Requesting permissions to user

* LocationTimeStamp inherits from Location

* Using new variable to soap object

* Setting const defaultValue

* Extracting common lines on update location click

* Extracting common lines on activity result

* Update SWADroid/src/main/res/values/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/values/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/values-es/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Using functions to reduce code

* Update SWADroid/src/main/res/values/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/GetLastLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/model/UserFilter.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/GetLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/GetLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/GetLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/IndoorLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/IndoorLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/IndoorLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/IndoorLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/IndoorLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/IndoorLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/IndoorLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/IndoorLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/IndoorLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Constant moved to class level

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/SendCurrentLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/SendCurrentLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/indoorlocation/SendCurrentLocation.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/modules/messages/SearchUsers.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/values-es/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/values-es/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/values-es/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/values-es/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/values-es/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/values-es/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/values-es/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/values/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/values/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/values/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/values/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/values/strings.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Adding dependency to preferences

* Changing indoor location title text

* Showing text when no location is found

* Allow always location option

* Adding new button to show mac

* Find mac button added and working

* Stopping scheduler when user can't be located

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/model/LocationTimeStamp.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/model/LocationTimeStamp.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/java/es/ugr/swad/swadroid/model/LocationTimeStamp.java

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update SWADroid/src/main/res/xml/preferences.xml

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>

* Update material version to 1.2.1

* Updating plugin

* Fixing API permissions

* Update gradle/wrapper/gradle-wrapper.properties

* Minor code style improvements

* Fix IndexOutOfBoundsException

* Add default locale to SimpleDateFormat

* Use complete Gradle distribution

* Update authors

* Update CHANGELOG

* Remove unused import

* Minor code style improvements

Co-authored-by: javibl8@correo.ugr.es <javier.bueno@jitkey.com>
Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>
2020-10-14 19:50:20 +02:00
dependabot-preview[bot]
df40491a2f Bump gradle from 4.0.2 to 4.1.0 (#297)
* Bump gradle from 4.0.2 to 4.1.0

Bumps gradle from 4.0.2 to 4.1.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update Gradle version to 6.6.1

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Amab <juanmi1982@gmail.com>
2020-10-13 17:05:33 +02:00
dependabot-preview[bot]
0618081fda Bump firebase-core from 17.5.0 to 17.5.1 (#296)
Bumps firebase-core from 17.5.0 to 17.5.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-07 08:32:55 +02:00
dependabot-preview[bot]
a71911cf69 Bump gradle from 4.0.1 to 4.0.2 (#295)
Bumps gradle from 4.0.1 to 4.0.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-07 08:25:41 +02:00
dependabot-preview[bot]
9546faeb9e Bump google-services from 4.3.3 to 4.3.4 (#294)
Bumps google-services from 4.3.3 to 4.3.4.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-30 07:48:32 +02:00
dependabot-preview[bot]
7a7de175ff Bump core from 3.4.0 to 3.4.1 (#293)
Bumps [core](https://github.com/zxing/zxing) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/zxing/zxing/releases)
- [Changelog](https://github.com/zxing/zxing/blob/master/CHANGES)
- [Commits](https://github.com/zxing/zxing/compare/zxing-3.4.0...zxing-3.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-30 07:38:55 +02:00
58240541f7 Use the standard directory for file downloads. Fixes #291 (#292)
* Use the standard directory for file downloads. Fixes #291

* Use OS independent file separator
2020-09-29 18:19:34 +02:00
dependabot-preview[bot]
086a70421f Bump commons-io from 2.7 to 2.8.0 (#289)
Bumps commons-io from 2.7 to 2.8.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-18 16:47:57 +02:00
8da102888c Fix Travis CI encrypted vars for Pull Requests (#288)
* Fix Travis CI encrypted vars for Pull Requests

* Fix Travis CI encrypted vars for Pull Requests (try 2)

* Fix misspelled command

* Double quote vars in shell scripts
2020-09-06 12:30:16 +02:00
95472cd80e Update Build Tools to 30.0.2 (#286) 2020-08-18 18:34:32 +02:00
dependabot-preview[bot]
785a255648 Bump firebase-core from 17.4.4 to 17.5.0 (#285)
Bumps firebase-core from 17.4.4 to 17.5.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-14 08:27:46 +02:00
dependabot-preview[bot]
99bfc45b79 Bump appcompat from 1.1.0 to 1.2.0 (#284)
Bumps appcompat from 1.1.0 to 1.2.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-06 17:13:19 +02:00
84f25e646c Update Build Tools to 30.0.1 (#283) 2020-07-20 21:37:18 +02:00
dependabot-preview[bot]
acb8d33992 Bump gradle from 4.0.0 to 4.0.1 (#282)
Bumps gradle from 4.0.0 to 4.0.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-15 15:57:58 +02:00
dependabot-preview[bot]
eeac30121a Bump firebase-core from 17.4.3 to 17.4.4 (#281)
Bumps firebase-core from 17.4.3 to 17.4.4.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-07 07:20:40 +02:00
9e5d0b281e Add support for Android 10.0+ (R) (#280) 2020-06-25 18:27:31 +02:00
dependabot-preview[bot]
797a098c58 Bump firebase-core from 17.4.2 to 17.4.3 (#279)
Bumps firebase-core from 17.4.2 to 17.4.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 07:36:27 +02:00
c27366211e Update Gradle plugin to 4.0.0 (#278) 2020-05-28 19:42:36 +02:00
dependabot-preview[bot]
7785300490 Bump commons-io from 2.6 to 2.7 (#277)
Bumps commons-io from 2.6 to 2.7.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-28 18:01:43 +02:00
dependabot-preview[bot]
d83b13ed38 Bump firebase-core from 17.4.1 to 17.4.2 (#276)
Bumps firebase-core from 17.4.1 to 17.4.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-22 06:59:25 +02:00
dependabot-preview[bot]
5acec1cc2b Bump firebase-core from 17.4.0 to 17.4.1 (#275)
Bumps firebase-core from 17.4.0 to 17.4.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 07:45:01 +02:00
b9e146bc0e Add support for Android R (#274)
* Add support for Android R

* Fix Travis CI config
2020-05-07 19:26:13 +02:00
dependabot-preview[bot]
abe6bcea29 Bump firebase-core from 17.3.0 to 17.4.0 (#273)
Bumps firebase-core from 17.3.0 to 17.4.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-24 07:51:03 +02:00
76aee54566 Update Gradle plugin to 3.6.3 2020-04-18 08:29:46 +02:00
a1ccf4cc81 Update Gradle plugin to 3.6.2 2020-04-01 06:25:29 +02:00
dependabot-preview[bot]
f770a2edb2 Bump firebase-core from 17.2.3 to 17.3.0 (#272)
Bumps firebase-core from 17.2.3 to 17.3.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-31 07:40:49 +02:00
9a4aff77ea Update Gradle plugin to 3.6.1 (#271) 2020-03-01 11:07:06 +01:00
dependabot-preview[bot]
ffdc94eac2 Bump firebase-core from 17.2.2 to 17.2.3 (#270)
Bumps firebase-core from 17.2.2 to 17.2.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-28 08:42:17 +01:00
dependabot-preview[bot]
7f76620dd6 Bump gradle from 3.5.3 to 3.6.0 (#269)
Bumps gradle from 3.5.3 to 3.6.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-25 17:04:05 +01:00
bf9cb29d65 Update README.md 2020-02-21 19:51:19 +01:00
87a094c845 Update Android Build Tools (#268)
* Update Build Tools to 29.0.3

* Update README.md

* Update README.md
2020-02-21 19:47:46 +01:00
dependabot-preview[bot]
6524137cea Bump firebase-core from 17.2.1 to 17.2.2 (#267)
Bumps firebase-core from 17.2.1 to 17.2.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-15 06:32:57 +01:00
dependabot-preview[bot]
780bbc8c06 Bump zxing-android-embedded from 4.0.2 to 4.1.0 (#266)
* Bump zxing-android-embedded from 4.0.2 to 4.1.0

Bumps zxing-android-embedded from 4.0.2 to 4.1.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Upgrade Gradle distribution from 5.6.3 to 6.0.1

* Set Java compatibility to 1.8 version

Co-authored-by: Juan Miguel Boyero Corral <juanmi1982@gmail.com>
2020-01-08 19:36:25 +01:00
dependabot-preview[bot]
c94c913b2b Bump gradle from 3.5.2 to 3.5.3 (#265)
Bumps gradle from 3.5.2 to 3.5.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 23:26:09 +01:00
33bc0a5160 Update README.md 2019-11-20 19:08:49 +01:00
dependabot-preview[bot]
9c0b2dcf1a Bump google-services from 4.3.2 to 4.3.3 (#264)
Bumps google-services from 4.3.2 to 4.3.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-14 19:36:20 +01:00
123920777c Fixed Travis CI path for APK release 2019-11-05 21:34:14 +01:00
913fa1fa1a Merge tag '1.5.6' into develop
1.5.6
2019-11-05 21:02:44 +01:00
dd9e7ab430 Merge branch 'release/1.5.6' 2019-11-05 21:02:32 +01:00
5a68269480 Updated CHANGELOG 2019-11-05 21:02:16 +01:00
f045974e6e Rollcall: Fixed SWADroid allows multiple simultaneous submissions of the attendance list (#263)
* Fix #262

* Updated CHANGELOG

* Rollcall: Fixed The default image is not displayed if the user does not have a photo
2019-11-05 20:53:15 +01:00
91e2043058 Update gradle version (#261) 2019-11-04 19:57:17 +01:00
9fe9322c80 Update README.md 2019-10-26 18:41:27 +02:00
f184c7ccff Added codecov token 2019-10-26 18:33:16 +02:00
f7d1776f96 Update README.md 2019-10-26 18:13:48 +02:00
dependabot-preview[bot]
197db5b5e4 Bump firebase-core from 17.2.0 to 17.2.1 (#260)
Bumps firebase-core from 17.2.0 to 17.2.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-26 18:09:40 +02:00
dependabot-preview[bot]
fb1f295541 Bump zxing-android-embedded from 3.6.0 to 4.0.2 (#259)
Bumps zxing-android-embedded from 3.6.0 to 4.0.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-26 17:59:45 +02:00
a64e613d7e Merge remote-tracking branch 'origin/develop' into develop 2019-10-26 17:48:05 +02:00
6819890a92 Updated minSdkVersion to 24 (Android 7.0) 2019-10-26 17:47:53 +02:00