Commit Graph

88 Commits

Author SHA1 Message Date
Matthieu 9b1573dd8b Remove old permission from AndroidManifest 2023-12-31 13:28:45 +01:00
Matthieu f16f1a9927 Remove unused gps permission 2023-12-25 19:55:11 +00:00
Matthieu 6c85115b67 Stories progress 2023-12-25 19:55:11 +00:00
Matthieu d393b083ae Move things AboutActivity and ThemedActivity to library 2023-12-25 19:55:11 +00:00
Matthieu 795b54c3cd WIP refactor top bar 2023-12-25 19:55:11 +00:00
Matthieu eb014290ff Move to automatic generation of locales_config 2023-12-25 19:55:11 +00:00
Matthieu 888c6328d9 Super rudimentary support for stories 2023-12-25 19:55:11 +00:00
Cyb3rKo 4a46064c45 Improve status and navigation bar colors 2023-06-14 14:45:10 +00:00
Matthieu 1d6b3c47e7 Fix permissions issue on Android 13 2022-11-25 18:34:34 +01:00
Matthieu 67e92a8dfa Merge master 2022-11-25 16:56:48 +01:00
Matthieu 80d205fd74 Use native language chooser 2022-11-25 16:52:27 +01:00
Matthieu e539ce9232 Improve stuff somewhat 2022-11-19 23:23:11 +01:00
fgerber 4f3020e0be Restructure post creation activity into two fragments 2022-11-19 13:21:54 +01:00
Matthieu e6c1ef766d Fix proguard rules 2022-11-03 18:56:46 +01:00
Matthieu d78ef56489 Update permissions 2022-11-03 17:25:28 +01:00
Marie 851d95bf0f Start post submission activity 2022-10-30 20:55:41 +01:00
Matthieu e35cb17879 start on profile editing functionality 2022-10-30 13:03:36 +01:00
Matthieu 085a1f548c Implement collections 2022-10-30 12:34:52 +01:00
Marie Jaillot cb9180fb60 Search/Discover tab 2022-10-29 17:07:59 +00:00
Matthieu 6b42677f1e Put editing in a module 2022-10-28 20:49:25 +02:00
Matthieu 48752e8db2 Implement new splash screen and dynamic color 2022-10-15 14:35:36 +02:00
Matthieu 370efe184b Update dependencies 2022-08-21 00:45:17 +02:00
Matthieu 326d744925 Start on theme choose 2022-07-08 23:20:44 +02:00
Matthieu 4a6795bc0e Improve compatibility and add a shortcut for creating a post 2022-06-21 18:47:12 +02:00
Matthieu 5c221e004d huge refactor of PostCreation to use ViewModel 2022-06-19 13:02:05 +02:00
Matthieu 8cecfa3de6 Video edit 2022-06-18 22:21:19 +02:00
Matthieu 1f03f96d7a Rudimentary ffmpeg thumbnail 2022-06-10 23:43:52 +02:00
Matthieu 4806dc4a06 Open album in full screen 2022-06-09 19:30:09 +02:00
Matthieu 77c895bbf2 Audio and fullscreen video 2022-02-17 12:22:21 +01:00
Matthieu 81d73b7a38 Add video play support 2022-02-17 12:22:21 +01:00
Matthieu 277dd3c66e Allow video uploads 2022-02-17 12:22:21 +01:00
Matthieu bfba41c4f8 Update dependencies 2021-10-20 23:29:42 +02:00
Matthieu 0e5f59df41 Implement viewing hashtags 2021-06-07 20:23:59 +00:00
Matthieu a7351b2cf1 Fix some applicationId issues 2021-05-20 12:15:12 +02:00
Matthieu ccadaac718 Catch filenotfoundexception, add build variant for debug 2021-05-19 11:05:44 +02:00
Matthieu 0ebabf3fa7 receive share intents 2021-05-08 20:36:02 +02:00
Matthieu 1ce5c54055 rename app id 2021-04-22 11:47:18 +02:00
Matthieu 8b90e17fc4 Restore integration tests in CI 2021-02-17 22:55:31 +01:00
mjaillot 9ddbe8e0e6 Fix search 2021-01-07 19:54:39 +01:00
Matthieu 12ed06cce8 Move ReportActivity to posts package 2020-12-28 15:20:31 +01:00
Matthieu 0a4d285d14 Big reorganization of code into logical units (#251)
Not much actual code is changed
2020-12-26 12:10:54 +01:00
Matthieu 6bf532698a Prepare for alpha 4 release 2020-10-04 23:40:42 +02:00
Matthieu 50dd0bad51 Add reporting and link sharing functionality, polish UI 2020-10-04 23:27:06 +02:00
Matthieu 0910ef176a Create About activity with licenses and dependency list 2020-09-25 16:46:01 +02:00
Matthieu 21925e7af4 Dependency injection
Configure dependency injection for API and the database. Uses Dagger (dagger.dev)

The API is held in a holder, so that it can be invalidated or recreated as needed.

Big refactor of the feeds, this introduces a bit more duplication of code (some very similar methods that differ only in the types or minor details), but now the inheritance makes more sense and there is less "forcing" to make the inheritance work (for example: no more casting Int to String just to have the right type for the key)
It should be easier to work with the feeds in the future, maybe we'll find better abstractions later on.
2020-07-26 20:56:01 +02:00
Sanimys 7981ae8643
enable creating albums (#229)
* Moved the crop button so that it doesn't take space in the activity

* Semi transparent in the middle, same position than the image

* First draft of the album creation

* choose multiple images in gallery

* Added functionalities to Album creation

* merge with master

* Gallery of images selected for the album creation

* to merge with master

* Images editable individually

* Creation of album is now possible

* Added tests

* Added test to edit picture selected

* merge PostCreation and AlbumCreation

* Merged completely PostCreation and AlbumCreation

* removed albumCreation in Manifest

* Refactored slightly

* Don't re-upload all images at each edit, only re-upload one

* Make sure all images are uploaded, correctly calculate progress

* comment assert, sorry

* fix test

* fix merge

Co-authored-by: Joachim Dunant <joachim.dunant@epfl.ch>
Co-authored-by: Matthieu <61561059+Wv5twkFEKh54vo4tta9yu7dHa3@users.noreply.github.com>
2020-06-05 23:49:28 +02:00
Wv5twkFEKh54vo4tta9yu7dHa3 d942c30898
Add upload progress bars and error handling to PostCreationActivity (#191)
* Add upload bar to PostCreationActivity

* Add upload error handling

* Fix test, remove duplicate api endpoint

* try to trigger ci

* don't show error all the time

* remove unused strings
2020-05-21 19:31:41 +02:00
Andrew Dobis f9835204be
fixed visual dark mode bug (#184) 2020-05-19 17:19:35 +02:00
Wv5twkFEKh54vo4tta9yu7dHa3 252a192ff3
Camera tab (#149)
* added CameraX depedencies

* added basis of camera activity layout

* basis of camera layout

* declare activity and request camera permissions

* request camera permissions

* implemented basic viewFinder aka stream preview

* added drawing of layout

* linked camera activity to new post fragment

* texture view now fills the entire screen

* added button, call to camera activity FOR RESULT and return to New Post Fragment

* can now take a photo a upload it

* locked camera activity in portrait orientation

* added basic test to CameraActivity

* added test with device orientation

* deleted orientation test as it broke the whole app

* deleted occurence of orientation tool for tests

* added buttons for flipping cameras and picture upload

* replaced NewPostFragment and took its job

* deleted cameraActivity

* replaced newPostFragment by Camera Activity

* revamped NewPostFragment

* perform basic test on buttons

* corrected retrieval of buttons

* robust camera fragment

* fix thumbnail permission requests

* refactor, finish fragment

* try to fix build not working on CI

* Add dependency

* Fix camera test

* update tests, delete obsolete xml

* Try to fix test

* Stop nullpointer that happens sometimes, when it shouldn't

* remove unused strings

* edit the photo instead of posting directly

* fix test after changing putextra name

* remove useless analyzer

* add test?

* better tests?

* add dependencies

* update dependencies

* try to fix build

* undo change to build.gradle

* try to fix tests

* try to fix tests

* remove useless listener

* save image so that ci can go through gallery

* remove extraneous permission

* Any app that declares the WRITE_EXTERNAL_STORAGE permission is implicitly granted this permission.

Co-authored-by: Andrea Clement <samuel.dietz@epfl.ch>
2020-05-15 12:10:28 +02:00
Andrew Dobis 8fb5074f84
Added a dark mode (#151)
* first draft of dark mode, still needs some work

* changed dark mode colors

* fixed more buttons in dark mode

* Ran linter and fixed a few things

* mades things more kotlin-like

* added night mode selector in settings, but doesn't seem to work

* WIP Theme settings

* Fix callback not getting called (not registered)

* added theme test

* removed useless strings

* Fix dark mode not being applied

* Our app isn't called ThemedApplication and fixed fix

* changed default theme for API versions lower than 29

* WIP splashscreen nightmode

* Added custom splashscreen

* added night mode for splashscreen

* removed useless night values

* adapted icons for dark mode

* fixed light mode colors

* fixed a few light mode color bugs

* fixed bad login button

* fixed search tabs color

* fixed weird text input in post creation

* removed hardcoded strings in settings test

* removed unnecessary margin in login activity

* replace getIntrumentation.context with getInstrumentation.targetContext in settings test

Co-authored-by: Matthieu De Beule <61561059+Wv5twkFEKh54vo4tta9yu7dHa3@users.noreply.github.com>
2020-05-15 09:23:06 +02:00