Commit graph

73 commits

Author SHA1 Message Date
misaochan
5a825b0c1e DEBUG MODE ON 2016-10-27 16:00:21 +13:00
misaochan
242f2ca12d DEBUG MODE OFF 2016-10-25 17:47:04 +13:00
misaochan
87b3bff405 DEBUG MODE ON 2016-10-25 16:46:46 +13:00
misaochan
2496e376ec DEBUG MODE OFF 2016-10-21 18:19:04 +13:00
misaochan
7ad2fc3b45 Merge remote-tracking branch 'refs/remotes/commons-app/master' into suggest-cats-from-title 2016-10-09 15:53:19 +13:00
misaochan
14f2cb11aa Change log tags 2 2016-10-08 20:34:47 +13:00
misaochan
76c4b0ab32 Change log tags 2016-10-08 20:33:55 +13:00
misaochan
b0d6b5acb8 Change Page class to public 2016-10-08 20:22:54 +13:00
misaochan
af0fed66bc DEBUG MODE 2016-10-08 18:08:26 +13:00
misaochan
43ef231035 Store title that was submitted 2016-10-08 18:08:20 +13:00
misaochan
37bc3cd2ba Fix indentation 2016-10-08 17:14:28 +13:00
misaochan
7e025ad50b Standardize tags 2016-10-08 16:50:38 +13:00
misaochan
5f3ea4db52 Remove todo 2016-10-07 19:55:11 +13:00
misaochan
2f6506a480 Remove debug mode 2016-10-07 18:52:10 +13:00
misaochan
bdf15b48db Set fields to saved title/desc values 2016-10-07 18:48:09 +13:00
misaochan
bfb41850b0 Add onClick() for button 2016-10-07 18:44:45 +13:00
misaochan
e00cdff217 Link button to View 2016-10-07 18:39:04 +13:00
misaochan
8c2d5f897a Add button to SingleUploadFragment 2016-10-07 18:34:55 +13:00
misaochan
0918a5343f DEBUG MODE: comment out uploadService 2016-10-07 18:29:39 +13:00
misaochan
560797b7be Add SharedPreferences 2016-10-07 18:29:28 +13:00
misaochan
13e2f04c28 Assign values of title and desc form fields to vars 2016-10-07 18:22:05 +13:00
misaochan
4a5ab0a8be Add no args constructor for Page 2016-10-04 18:03:57 +13:00
misaochan
2b9488d5ff Add comments 2016-09-17 17:59:49 +12:00
misaochan
26df8894d6 Check for locationPermission in uploadBegins() 2016-09-17 17:48:55 +12:00
misaochan
5102507fc8 Replace getLocationData() with getFileMetadata(true) 2016-09-17 17:44:07 +12:00
misaochan
333a0e0510 Merge getFileMetadata() and getLocationData() 2016-09-17 17:37:42 +12:00
misaochan
30632a72be Add getFileMetadata() to uploadBegins() 2016-09-17 17:21:45 +12:00
misaochan
9659389057 Change requestPermissions 2016-09-17 17:21:45 +12:00
misaochan
69cc480cdd Add comments 2016-09-17 02:05:09 +12:00
misaochan
071ecd38cb Initialize currentLatitude to null and do check 2016-09-17 01:52:50 +12:00
Josephine Lim
1f99460f99 Merge pull request #247 from whym/linterrors
Fixes to some errors found by lint ("Inspect code" on Android Studio)
2016-09-06 01:30:35 +12:00
Nicolas Raoul
03c5896937 Merge pull request #248 from whym/fixextension2
Further attempts to reduce overwrites
2016-09-05 14:15:49 +09:00
misaochan
c9ecc1018e Debug mode off 2016-09-05 16:08:26 +12:00
misaochan
e196773107 Pass decimalCoords to Contribution.java 2016-09-05 16:00:51 +12:00
misaochan
6250aaa89d Pass in decimalCoords 2016-09-05 15:58:30 +12:00
misaochan
40f69b1d10 Debug mode, no uploads 2016-09-05 15:45:53 +12:00
misaochan
88ced27ac8 Note places in code that need changing 2016-09-04 19:28:03 +12:00
Yusuke Matsubara
c434d209fc Further attempts to reduce overwrites
- Keep file names of unfinished uploads to avoid overwriting
- Normalize capital-letter file extensions
2016-09-04 10:55:23 +09:00
Yusuke Matsubara
41ffd993d1 Fixes to some errors found by lint ("Inspect code" on Android Studio)
See also #171.
2016-09-03 19:53:01 +09:00
misaochan
7dd48e092c Copy relevant code from GPSExtractor 2016-08-22 18:01:43 +12:00
misaochan
f13cdc0485 Add comments to GPSExtractor 2016-08-22 17:58:38 +12:00
Nicolas Raoul
eb275e25df Merge pull request #232 from whym/fixextension
Fix extension replacement, add related tests
2016-08-16 12:35:25 +09:00
Yusuke Matsubara
b91c9776f6 Fix extension replacement, add related tests
Makes sure findUniqueFilename receives filenames with an extension.
More robust extension replacement rules.
2016-08-16 09:07:32 +09:00
Yusuke Matsubara
0714f6ec93 Safeguard findUniqueFilename from race conditions
This might partially, but not fully, solve Issue #228 (accidental overwriting).
2016-08-15 21:58:56 +09:00
misaochan
8b23bb04f4 Add null check 2016-08-11 17:40:49 +12:00
misaochan
1489cd419b Add logs 2016-07-26 16:03:01 +12:00
misaochan
cbb3fc0f93 Removing unnecessary nesting 2016-07-26 15:59:24 +12:00
misaochan
a026a49017 Add null check 2016-07-26 15:54:09 +12:00
misaochan
66ef5fbca7 Fix IllegalStateException 2016-07-21 17:59:44 +12:00
misaochan
599f17559f Add log 2016-07-21 17:46:41 +12:00