1
0
mirror of https://gitlab.shinice.net/pixeldroid/PixelDroid synced 2024-12-29 00:10:42 +01:00
Commit Graph

270 Commits

Author SHA1 Message Date
Matthieu
2e88e49875 Add error messages instead of toasts 2020-10-31 11:21:56 +01:00
Matthieu
40f4d03bd1 Add serializable to Source 2020-10-28 11:19:36 +01:00
Matthieu
1e2638965a Merge branch 'translations' into 'master'
Translations

See merge request pixeldroid/PixelDroid!253
2020-10-08 10:35:07 +02:00
Matthieu
69a3927ee8 Merge branch 'upload_fix' into 'master'
Fix upload adding error

Closes #257

See merge request pixeldroid/PixelDroid!252
2020-10-05 13:22:00 +02:00
Matthieu
96fd086c5f Fix upload adding error 2020-10-05 13:21:59 +02:00
Danial Behzadi
cfd6e70633 Translated using Weblate (Persian)
Currently translated at 100.0% (120 of 120 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/fa/
2020-10-05 04:56:43 +00:00
Matthieu
9ed4f3b2ac Merge branch 'release4' into 'master'
Prepare for alpha 4 release

See merge request pixeldroid/PixelDroid!251
2020-10-04 23:41:10 +02:00
Matthieu
6bf532698a Prepare for alpha 4 release 2020-10-04 23:40:42 +02:00
Matthieu
8563128f69 Merge branch 'translations' into 'master'
Translations

See merge request pixeldroid/PixelDroid!250
2020-10-04 23:29:22 +02:00
Matthieu
0fe4eacf0b Translated using Weblate (Persian)
Currently translated at 100.0% (103 of 103 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/fa/
2020-10-04 23:29:22 +02:00
Matthieu
02b8e9c16b Merge branch 'report' into 'master'
Add reporting and link sharing functionality, polish UI

Closes #241, #249, and #238

See merge request pixeldroid/PixelDroid!249
2020-10-04 23:27:06 +02:00
Matthieu
50dd0bad51 Add reporting and link sharing functionality, polish UI 2020-10-04 23:27:06 +02:00
Matthieu
a769d404a6 Merge branch 'action_bar_actionify' into 'master'
Action bar actionify

See merge request pixeldroid/PixelDroid!248
2020-09-26 00:25:08 +02:00
Matthieu
c014eef3f3 Make action bars contain info and back button 2020-09-26 00:25:08 +02:00
Matthieu
62f4013d77 Merge branch 'stringify' into 'master'
Extract strings

See merge request pixeldroid/PixelDroid!247
2020-09-25 17:00:36 +02:00
Matthieu
b14242a448 Extract strings 2020-09-25 17:00:08 +02:00
Matthieu
3534b74071 Merge branch 'about_activity' into 'master'
Create About activity with licenses and dependency list

Closes #244

See merge request pixeldroid/PixelDroid!246
2020-09-25 16:46:01 +02:00
Matthieu
0910ef176a Create About activity with licenses and dependency list 2020-09-25 16:46:01 +02:00
Matthieu
ea42f9381a Merge branch 'dependencies_update' into 'master'
update dependencies

See merge request pixeldroid/PixelDroid!245
2020-09-14 16:06:45 +02:00
Matthieu
fa5e9b764e update dependencies 2020-09-14 16:04:53 +02:00
Matthieu
822f81e4b8 Merge branch 'translations' into 'master'
Translations

See merge request pixeldroid/PixelDroid!244
2020-09-14 16:01:29 +02:00
Matthieu
0bbdab8223 Merge branch 'hamburger_button' into 'master'
Add hamburger button to tab bar

Closes #237

See merge request pixeldroid/PixelDroid!243
2020-09-14 16:01:12 +02:00
Matthieu
4f5e08d73e fix for dark mode 2020-09-13 23:48:03 +02:00
Matthieu
7c361aefe0 Add hamburger button to tab bar 2020-09-13 23:35:09 +02:00
x
e27779c358 Translated using Weblate (Italian)
Currently translated at 100.0% (98 of 98 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/it/
2020-09-12 13:28:25 +00:00
Matthieu
157daae790 Merge branch 'translations_fix' into 'master'
Translated update

See merge request pixeldroid/PixelDroid!242
2020-09-11 18:21:09 +02:00
Mostafa Ahangarha
f8aeaa52d2 Translated using Weblate (Persian)
Currently translated at 100.0% (98 of 98 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/fa/
2020-09-11 14:21:48 +00:00
Matthieu
f3f983fa74 Merge branch 'crash-reports' into 'master'
Add crash report using TraceDroid

Closes #208

See merge request pixeldroid/PixelDroid!241
2020-09-10 22:48:46 +02:00
Matthieu
98e18635b5 Add crash report using TraceDroid 2020-09-10 22:47:04 +02:00
Matthieu
48849cf984 Merge branch 'fix-alignment' into 'master'
Fix grid alignment (#242)

Closes #242

See merge request pixeldroid/PixelDroid!240
2020-09-10 22:12:27 +02:00
Matthieu
7066c8e903 Switch to flexbox to fix #242 2020-09-10 22:09:14 +02:00
Matthieu
9d9010d073 Merge branch 'notification-time' into 'master'
Adding time to notification

Closes #190

See merge request pixeldroid/PixelDroid!239
2020-09-10 20:20:23 +02:00
Matthieu
61d6ef47ac Adding time to notification 2020-09-10 20:20:23 +02:00
Matthieu
7c2221e7a6 Merge branch 'nodeinfo' into 'master'
Use nodeinfo endpoint to get info about the capabilities of the instance

Closes #175

See merge request pixeldroid/PixelDroid!237
2020-08-22 22:34:21 +02:00
Matthieu
7bca413d60 Use nodeinfo endpoint to get info about the capabilities of the instance 2020-08-22 22:34:21 +02:00
Matthieu
bd39bc681d Merge branch 'translations' into 'master'
Translations

See merge request pixeldroid/PixelDroid!235
2020-07-26 20:59:35 +02:00
Matthieu
7e3398d908 Translated using Weblate (Dutch)
Currently translated at 91.5% (87 of 95 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/nl/
2020-07-26 20:59:35 +02:00
Matthieu
ede4a2ffbf Merge branch 'dependency_injection' into 'master'
dependency injection

See merge request pixeldroid/PixelDroid!236
2020-07-26 20:56: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
Matthieu
15d80da692 Merge branch 'github/fork/Wv5twkFEKh54vo4tta9yu7dHa3/weblate-pixeldroid-pixeldroid' into 'master'
Translations update from Weblate

See merge request pixeldroid/PixelDroid!232
2020-06-26 00:52:35 +02:00
Matthieu
f1fef066b0 Translated using Weblate (Spanish)
Currently translated at 100.0% (95 of 95 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/es/
2020-06-26 00:52:35 +02:00
Matthieu
4253b8a9ea Merge branch 'improveCI' into 'master'
Improve CI

See merge request pixeldroid/PixelDroid!233
2020-06-24 15:34:15 +02:00
Matthieu
1028bf0cf3 Improve CI 2020-06-24 15:34:14 +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
a409d69c77
Merge pull request #231 from H-PixelDroid/release3.2
Release 3
2020-06-05 23:39:31 +02:00
Matthieu
5f773bef1a release 3 2020-06-05 23:09:25 +02:00
Samuel Dietz
b01922126f
Better sensitive profiles (#230)
Stop using the sensitive icon as the placeholder for every post, but only load it for actually sensitive posts.
2020-06-05 20:44:57 +02:00
Ulysse Widmer
34f3d12dbc
Offline mode part 2 - Store posts in the DB (#209)
* store posts base idea

* switch to nullable types in Status object

* store posts first try + switch to nullable types for Attachment objects

* fix some tests, add converters

* update gradle

* wip: display stored post

* first draft of functional offline post

* added likes and shares to offline data

* fully functional

* clear activity correctly

* clear correctly activities

* refactored some tests and added offline feed test

* Distinguish between users, and only store home timeline

* count better

* Sort when getting statuses

* disable buttons, since we're offline anyways

Co-authored-by: Matthieu <61561059+Wv5twkFEKh54vo4tta9yu7dHa3@users.noreply.github.com>
2020-06-05 20:14:57 +02:00
Wv5twkFEKh54vo4tta9yu7dHa3
46498b4a9c
Translations update from Weblate (#227)
* Translated using Weblate (Italian)

Currently translated at 100.0% (94 of 94 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/it/

* Translated using Weblate (Catalan)

Currently translated at 100.0% (94 of 94 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/ca/

* Translated using Weblate (French)

Currently translated at 100.0% (94 of 94 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/fr/

* Translated using Weblate (Arabic)

Currently translated at 98.9% (93 of 94 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/ar/

* Translated using Weblate (Persian)

Currently translated at 100.0% (94 of 94 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/fa/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (94 of 94 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/es/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (94 of 94 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/es/

* Translated using Weblate (German)

Currently translated at 100.0% (94 of 94 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/de/

* Translated using Weblate (Dutch)

Currently translated at 88.2% (83 of 94 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/nl/

* Translated using Weblate (Arabic)

Currently translated at 100.0% (94 of 94 strings)

Translation: PixelDroid/pixeldroid
Translate-URL: http://weblate.pixeldroid.org/projects/pixeldroid/pixeldroid/ar/

Co-authored-by: x <hardwired1.0@protonmail.com>
Co-authored-by: retiolus <retiolus@protonmail.com>
Co-authored-by: ButterflyOfFire <butterflyoffire+pixeldroid@protonmail.com>
Co-authored-by: Mostafa Ahangarha <ahangarha@riseup.net>
Co-authored-by: Juan Roberto <juanrobertogarciasanchez@gmail.com>
Co-authored-by: Tagomago <tagomago@disroot.org>
Co-authored-by: T B <weblatepixeldroid@thilobuchholz.de>
Co-authored-by: Anonymous <noreply@weblate.org>
2020-06-05 19:46:40 +02:00
Wv5twkFEKh54vo4tta9yu7dHa3
09fc137425
Merge pull request #226 from H-PixelDroid/gallery_save_hotfix
Make the MediaScanner scan work (previously when saving a photo it would get saved but not scanned properly, so it wouldn't show up in the gallery)
2020-06-03 19:47:47 +02:00