HomePhabricator

Kotlin, lazy execution & multipart requests

Authored by CLOVIS on Jan 4 2019, 12:42 PM.

Description

Kotlin, lazy execution & multipart requests

Summary:
Conversion to Kotlin, multipart support and lazy-execution of requests

Fixes T266
Fixes T259
Fixes T267

Test Plan: Run unit tests

Reviewers: WyldBot, Info-Screen

Reviewed By: WyldBot, Info-Screen

Subscribers: Info-Screen, WyldBot

Maniphest Tasks: T266, T262, T259, T267

Differential Revision: https://phabricator.wildfyre.net/D191

Merged Changes

CommitAuthorDetailsCommitted
abd9f14aeb30D191CLOVIS
Merge branch 'master' into T266-lazy-requests 
Jan 4
12123a818110D191CLOVIS
Fixed bug where the JSON data wouldn't be read by the server 
Dec 23 2018
7207848919c8D191CLOVIS
Added ProgrammingException 
Dec 23 2018
95f41e2ba415D191CLOVIS
Added support for "text/plain" in DataType 
Dec 23 2018
98eca39ff137D191CLOVIS
Using Kotlin's 'use' for cleaner code 
Dec 23 2018
fc723d6a2785D191CLOVIS
Adding FindBugs annotations as dependencies and fixing FindBugs warnings 
Dec 23 2018
d9332e0fbedcD191CLOVIS
No linting for IDEA files 
Dec 23 2018
5a70c401234bD191CLOVIS
IDEA setup for encodings, kotlin compiler and name of the project 
Dec 23 2018
78fa4cdd3614D191CLOVIS
Added missing "bio" field in testMultipart, sending each JSON field as a… 
Dec 23 2018
8fb84c1560edD191CLOVIS
Fixed bug where lib sent PATCH as POST+Override, where API expected PUT+Override 
Dec 23 2018
cd0a38de1da2D191CLOVIS
Removed writeUTF that was not appropriate, replaced by a custom write method 
Dec 23 2018
567e99cebd41D191CLOVIS
Replacing CHARSET by an object instead of a String 
Dec 23 2018
060a44e516f1D191CLOVIS
Throwing custom NPE in Request.multipart to be clearer in case something happens 
Dec 15 2018
4a79b06d073cD191CLOVIS
Image to test the avatar & PATCH/multipart testing 
Dec 5 2018
9bb963310b84D191CLOVIS
Clearing the users when reseting the Cache 
Dec 5 2018
40061367ac5bD191CLOVIS
Logging, JSON field name, refactoring from Request.Companion 
Dec 5 2018
97b89444f5a5D191CLOVIS
Method.java --> Kotlin 
Dec 5 2018
4038d34cadf4D191CLOVIS
Removed unneeded try-catch 
Dec 2 2018
e7c8a15dc317D191CLOVIS
Better documentation in Request & better platform-types handling 
Dec 2 2018
22d9f64b22a0D191CLOVIS
Removed test that couldn't work because of the IDs of posts that change when… 
Oct 25 2018
b5a40cd77b6dD191CLOVIS
Added missing boundary & fixed missing filenames 
Oct 25 2018
fc8ea405846aD191CLOVIS
Less redundant code 
Oct 12 2018
42ac1ec2c35cD191CLOVIS
Better code with 1 null-check instead of 2 
Oct 12 2018
cbf95b58ffcbD191CLOVIS
Fixed missing CHARSET 
Oct 12 2018
f7627ad12a44D191CLOVIS
Added method addFile to upload files 
Oct 12 2018
9653458a5a5fD191CLOVIS
Fixing bug in tests 
Oct 12 2018
45544fb49e35D191CLOVIS
Merge branch 'master' into T266-lazy-requests 
Oct 12 2018
5df1b29a89d4D191CLOVIS
Better code with functions run and let 
Oct 12 2018
89b1203c5decD191CLOVIS
Merged master & fixed database identification bugs 
Oct 5 2018
1b488357f686D191CLOVIS
Removed empty line 
Oct 5 2018
1e7ad44918c1D191CLOVIS
Added support for Kotlin 
Sep 26 2018
781bee0fef11D191CLOVIS
Added support for Kotlin 
Sep 23 2018