Commit Graph

48 Commits

Author SHA1 Message Date
8d189ae541
fix(TM): List is now working again
It was referencing the new memsource API url (v2), but list still uses
v1.
2022-12-30 10:50:14 -03:00
a22f23cc10
test: adding phpUnit 2022-12-23 00:27:51 -03:00
adfea614ad
feat: added new Async and TM modules on main file 2022-12-23 00:26:18 -03:00
1788befec6
refactor: moving saveIntoFile to Helper function 2022-12-23 00:25:50 -03:00
228b3a06e1
feat: adding TM module 2022-12-23 00:25:12 -03:00
aab66427a8
refactor: creating Helper class and moving saveIntoFile function 2022-12-23 00:24:41 -03:00
1a3c690138
feat: added async module 2022-12-23 00:24:24 -03:00
f14492d744
Include edit Project Status 2021-02-12 19:03:12 -03:00
b739763448
Include job download source and target files 2021-02-12 19:02:25 -03:00
abda9e4ee8
Fix the pre-push hook error with different phpunit versions
Now the pre-push hook check first for a composer phpunit, it not found,
try to use a system wide one. If none of them are available, it will
rise an error
2021-02-11 18:29:32 -03:00
c88478f7d8
Includes file extension on bilingual download
It is important to choose the file extension, so including it on the
filename would be the easier way for us, as we already have the
extension when using it.
2021-02-11 18:25:32 -03:00
37ebdabc20 Improving Makefile and PHPUNIT dependency on composer.json 2019-06-28 02:21:55 -03:00
92409b9571 Avoiding composer.lock to be commited 2019-06-28 00:58:33 -03:00
8e14eb86b3 Added Makefile to install the hook for automatic test 2019-06-28 00:54:06 -03:00
dc437d7044
Fixing a project Test
The test was to make sure it would return a error on No token, but it
was providing a token. More than that, it were a simple and direct check
if it were throwing an error.

Now it is checking for the specific Missing Access Token error message.
2019-06-27 20:21:43 -03:00
51980ebf14
Including git hook to run tests 2019-06-27 20:05:02 -03:00
283e85b834
Refactoring Oauth and Memsource classes 2019-06-27 20:03:41 -03:00
aaabb91039
Including Tests and verifications for errors 2019-06-27 20:03:10 -03:00
e4f2bd04be
Fixing README command with wrong function name 2019-06-25 20:35:31 -03:00
97e0a56b65
Updating oauth.php file to match the new base api 2019-06-25 18:08:21 -03:00
13fadfe9ae
Refactoring function names as no one is using it yet 2019-06-25 10:49:57 -03:00
6f19522c52
Including more information on README.md 2019-06-25 01:29:13 -03:00
3c6d2f0442
Improving README.md file 2019-06-24 22:06:43 -03:00
7f2132515b
Including more info on composer.json 2019-06-24 21:42:52 -03:00
254be18f0a
Composer: removing version 2019-06-24 21:35:11 -03:00
5fd839050a
Trying to make composer.json to be used directly from GitHub 2019-06-24 21:33:30 -03:00
f28eca7e0d
GitIgnore: avoiding downloaded .mxliff test files to be commited 2019-06-24 20:30:39 -03:00
39c135be60
Included the Jobs class 2019-06-24 20:29:02 -03:00
898f03fd92
Project: Included a getProject API call 2019-06-24 20:28:21 -03:00
e898aa8749
Merge branch 'master' of github.com:brunofontes/Memsource-API 2019-06-24 19:49:10 -03:00
404e128cfe
BilingualFile: added uploadBilingualFile 2019-06-24 19:47:45 -03:00
7d21979193 README.md: adding info about List Project 2019-06-22 19:12:55 -03:00
60c5e49eb3 Removing old files that were used just for test 2019-06-22 19:05:42 -03:00
5d420d26f6
Including a README.md file 2019-06-21 21:15:48 -03:00
084dec87e2
Added: Project API class 2019-06-21 21:13:54 -03:00
460812852e
Refactoring base functions
Fetch functions, curl and it's parameters now are all in the FetchApi
file, while other Classes will receive them by Dependence Injection
2019-06-21 21:12:00 -03:00
7664bf67a4
Including the BilingualFile class
This class is responsible for downloading bilingual files
2019-06-21 20:38:42 -03:00
cea3ae3365
.gitignore: Avoiding commit .php_cs.cache 2019-06-20 00:58:02 -03:00
362afc1dfd
Refactoring curl functions 2019-06-19 20:50:28 -03:00
d772ee5d47
Transforming into a composer package class
As I should use this into more than one project, it would be better to
turn it into a composer package. So I learn how to do that and use it at
work at the same time.
2019-06-19 10:39:34 -03:00
546814b26c
More tests and a small refactoring 2019-06-17 21:23:12 -03:00
9c32f3b8d8
Starting to organize API functions and responses 2019-06-15 13:49:37 -03:00
3a16408540
Testing some options 2019-03-01 21:25:19 -03:00
e6f805f76a
Now Oauth is in a separate file than the API itself 2019-03-01 21:00:37 -03:00
443119787f
Adding project as a Composer package 2019-03-01 21:00:16 -03:00
019bd4ed15
Including .gitignore 2019-03-01 20:59:59 -03:00
c4edf3e08f
Including composer instruction as a test 2019-03-01 01:34:13 -03:00
764cf87288
INIT 2019-02-27 01:41:46 -03:00