Commit graph

936 commits

Author SHA1 Message Date
Dmitry Brant
38e7cad345 Final touch-ups to improved image loading. 2017-05-19 17:19:10 +02:00
Dmitry Brant
7a4062a377 Merge remote-tracking branch 'upstream/master' 2017-05-19 16:27:08 +02:00
Dmitry Brant
9469bf29e4 Remove dependency on old image-loading library, and remote a lot of code. 2017-05-19 16:24:04 +02:00
Dmitry Brant
85b15cd1c1 Further improve image loading, and remove unused code. 2017-05-19 15:57:25 +02:00
maskara
5fc9f84e79 Fixes #614: Crash: Fragment State loss exception 2017-05-19 15:44:15 +02:00
Josephine Lim
f6a7759317 Merge pull request #600 from whym/nearby-file
Read once and reuse the query file's content
2017-05-19 15:36:49 +02:00
Josephine Lim
6232e35816 Merge pull request #627 from dbrant/master
Clean up image loading code, and switch to using Fresco.
2017-05-19 15:20:33 +02:00
Dmitry Brant
a9d58d4757 Merge changes for switching to Fresco. 2017-05-19 15:16:53 +02:00
Dmitry Brant
a3f3ee7fdb Merge remote-tracking branch 'upstream/master' 2017-05-19 15:14:29 +02:00
Dmitry Brant
bb49fb9801 Clean up image loading code, and switch to using Fresco. 2017-05-19 15:08:29 +02:00
Dinu Kumarasiri
7d6c836e31 Leak Canary Integration 2017-05-19 15:06:15 +02:00
Dinu Kumarasiri
a81aa7fec0 Remove the unnecessary comment 2017-05-19 14:54:21 +02:00
Yusuke Matsubara
19eddb7d26 Merge pull request #619 from f4ww4z/replace-clear
Replace 'removeAll(c)' with 'clear()'
2017-05-17 20:28:37 +09:00
Yusuke Matsubara
f039ec37bc Merge pull request #596 from domdomegg/codestyle
Lint issues
2017-05-17 20:15:10 +09:00
Yusuke Matsubara
22f5f51082 Read once and reuse the query file's content 2017-05-17 17:08:31 +09:00
Fawwaz Yusran
547f2a062c Replace 'removeAll()' with 'clear()' 2017-05-17 13:49:04 +07:00
Tobias Schönberg
7abd61348b Code style 2017-05-16 21:58:43 +02:00
Tobias Schönberg
e42b22398c Code style: sort imports 2017-05-16 21:51:49 +02:00
Tobias Schönberg
bc60cff5fe Fix lat-long format and add tests
Currently the lat-long string in the gallery still contains
negative numbers. Also W values do not work correctly.
This commit fixes the calculations and adds tests for the
LatLng class.
2017-05-16 21:41:18 +02:00
Vivek Maskara
825cdafe7b Merge pull request #615 from neslihanturan/changeQuestionMark
Change orange irrelevant questionmark
2017-05-16 17:53:08 +02:00
neslihanturan
aec62822fc Merge pull request #613 from maskaravivek/navigationBeautify
With icons in navigation drawer
2017-05-16 18:51:36 +03:00
Neslihan
ce15b677ba Change orange irrelevant questionmark 2017-05-16 18:29:24 +03:00
maskara
c0397858ee With icons in navigation drawer 2017-05-16 17:20:42 +02:00
addshore
4bda30116a Update logic from PR 611 that was just merged 2017-05-16 15:20:53 +02:00
addshore
1785e9b179 Fix some codacy issues 2017-05-16 15:19:43 +02:00
addshore
c712b561d4 Get rid of other singletons 2017-05-16 15:19:43 +02:00
addshore
bdfbdc7579 Cleanup CommonsApplication Singelton 2017-05-16 15:19:15 +02:00
Neslihan
be2b944276 Fix codacy 2017-05-16 16:12:16 +03:00
Neslihan
aec4300a2e Logout thing 2017-05-16 16:01:29 +03:00
Neslihan
cce8c27a66 Add logout action 2017-05-16 15:52:05 +03:00
neslihanturan
1a1fc143c9 Merge pull request #608 from maskaravivek/minorFix
Fixes #587: Remove trailing carriage return
2017-05-16 15:39:56 +03:00
maskara
a4c1087abb Fixed codacy issue 2017-05-16 13:31:21 +02:00
maskara
63937a842a Add navigation drawer to Share and Multi Share activity 2017-05-16 13:24:39 +02:00
maskara
583a47e2b4 Fixes #587: Remove trailing carriage return 2017-05-16 13:11:54 +02:00
maskara
ddd5e602a9 Fixed nearby query to show read article link only for wikipedia articles 2017-05-16 12:46:05 +02:00
maskara
41cb2c9769 Add drawer to settings activity 2017-05-16 11:58:54 +02:00
maskara
a6bbc8a33b With NavigationBaseActivity implemented 2017-05-16 11:58:54 +02:00
maskara
09cd596ff6 Integrated navigation drawer in the contributions activity 2017-05-16 11:57:07 +02:00
maskara
e40d2aabb2 With support for navigation drawer 2017-05-16 11:56:39 +02:00
Yusuke Matsubara
04ea68333b Print radius with a limited number of digits + reduce debug output 2017-05-16 12:40:48 +09:00
Yusuke Matsubara
a794485ab1 Merge pull request #598 from tobias47n9e/master
Change file extension of nearby query to .rq
2017-05-16 12:10:25 +09:00
Tobias Schönberg
14024601fc Change file extension of nearby query to .rq
Currently the file uses .txt which breaks syntax highlighting
one some platforms. This is also the file extension recommendet
in the standard:
https://www.w3.org/TR/2010/WD-sparql11-federated-query-20100601/

Changes to be committed:
	renamed:    src/main/assets/queries/nearby_query.txt -> src/main/assets/queries/nearby_query.rq
	modified:   src/main/java/fr/free/nrw/commons/nearby/NearbyPlaces.java
2017-05-15 20:06:40 +02:00
Adam Jones
c03957368c Update github.com/wikimedia -> github.com/commons-app 2017-05-15 16:49:03 +01:00
Adam Jones
8e3e8982c7 Android correctness lint issues 2017-05-15 16:45:46 +01:00
Adam Jones
876b299ecc Remove redudant local variables 2017-05-15 16:45:46 +01:00
Adam Jones
75060d7875 Removing unused imports 2017-05-15 16:45:46 +01:00
Adam Jones
11e4fae297 Update deprecated values 2017-05-15 16:45:46 +01:00
Josephine Lim
706c971d91 Merge pull request #595 from sandarumk/nearby_description_issue
Set default text when no description found
2017-05-15 17:28:34 +02:00
Josephine Lim
37c3004b57 Merge pull request #594 from maskaravivek/stetho
Making debugging easier with stetho
2017-05-15 17:04:39 +02:00
Dinu Kumarasiri
dfe3ff5dfe Set default text when no description found 2017-05-15 17:04:06 +02:00