Commit graph

280 commits

Author SHA1 Message Date
Jérémy Munsch
a6731e98ae 3.0.0 release
-----BEGIN PGP SIGNATURE-----
 
 iQGzBAABCgAdFiEEbXCAeh4tnJbE5ao1VRlr7kRfYEkFAmHWzmEACgkQVRlr7kRf
 YEnOawv/dh5IkA3miThsXr+ALWqVipe2qack2OhZ2I5w8GkuzOhXtaMo6eGIFwjV
 vOtLISsQnCPlcZMw/HY3gVc3EWF2MKku7NgMMnsWi85Gi5jI5LlXygwhx0eZkC4O
 6Fc1SACyaSl8zxgiGpgwLqTTQcloWt2qJ1UdA4v6bD5y8ubcZ18vsgfxsnpfdmvN
 P0h6yGej/KeQtwb0d9UdgdBzU7dcI0s75Oy2NurgPMN2NYHBOUcfF/en8rrBb6Sy
 IrPWquDWyBTntPzLWhOpqllm/oRvBYjNTacxH4fqEWdHWPy21MwHsClkkbteNWyN
 cSGEnJuknh9GV5TPjG8YjKTlYnIrvBiPh6odMmOQDSS0NR19Tah30P0sXfj5JTX2
 Phi+8ktyyMdS2xBKU+8e6hgYuDWWJN7z/yFLdBdow4DBV+aZn6M++q7xN+AdWkML
 0ICaYjuZYVN1k7a+dt5/YvRfqS1y3zvfi8UmKBdvGz/NQIfH5nJod7/BEUW/IbAp
 Erm4+3ft
 =oP5n
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQGzBAABCgAdFiEEbXCAeh4tnJbE5ao1VRlr7kRfYEkFAmHWznkACgkQVRlr7kRf
 YEkI/wwAhEqDJ2ohlg7ral3KrGKRiYfrQ3FxWdG4WF7c2yBPEIEUfhl7RtomKnQ/
 rrMXsbKFEDs2BnfDXoZth4KYLiWjgXGCtcTHZTRBQ/LJTaeAnfXzuPUtiaoHj003
 8sKmW8tMTPSbHEtZ6f0zZVqQGFuZvzBSbDhLd25m/H8pZgYrCGsltsOBFEgCRf1v
 wbStHyWWgw2HCGfZ8TCl5GGRDVUIKC0KV0N4X3cqW4TmrGdm5e8N8WEzT/hpcYnF
 p4/DUexa3R4QIc6N0MaEohYeslmtKycRzNloAu+omlCzmOz2mvd4stRfoOPwAAxt
 B0KH6vVO8hULhGFSf2+/zffHcnIuqVRgjdE8d5AszgVQaJJF4tTPzQSVslwmobZJ
 JDN+KEWfYE9vY1OGiuYt1wBkF3IURDCZ1mRQ3Fq4uYSQchj+G27V/QKrPfAHF3Wu
 sfl035HlWgIv3Zd/QoAO1hil8QX2tMy6O0fzdBysK7KAYNri/SEgSCK39gRfjl2D
 EoRuomau
 =NcUP
 -----END PGP SIGNATURE-----

Merge tag '3.0.0' into trunk

3.0.0 release
2022-01-06 12:11:52 +01:00
Jérémy Munsch
7fade7390b
Merge branch 'v3' into develop 2022-01-06 12:11:19 +01:00
81aabdab72
Version 3.0.0
This removes api authentification with token in favor of signature method.
Refactorize code and clean up. It add more unit test plus code coverage
in test/converage.

- Added config.api.timestampTimeout
- Added Helper::signRequest This calculates the request signature
- Added more unit tests and extend code coverage.
- Added rate limiter for web routes
- Added RemoveSpaces Sanitizer on api requests
- Added stress test suite
- Changed AuthServiceProvider api-token to api-hmac
- Changed CustomerSeeder to have at least of customer activated (for unit tests)
- Changed used transation for saveing multiple models
- Changed, in ServiceController generateApiToken to generateServicePassword
- Changed, timestamp has to be send in request with a DateTime format, it also has to a UTC  value
- Composer added brianium/paratest
- Composer update
- Fixed case where removing single optin could be the wrong one (not for the good service)
- Fixed customer delete
- Fixed customer would not be resolved by brand.
- Fixed Really check that request is json checking body content, preventing sending malformed requests
- Remove ApiError::needAuth
- Removed api_token
- Removed ApiController::authenticate
- Removed config.api.tokenTimeout
- Removed Header check or usage because of HAProxy doing weird stuff
- Removed lock files from gitignore
- Removed memcached dependency
- Removed unused questions resources api routes
- Removed workspace file

Migrations
- Added unique index on services.bearer_token
- Changed customer_id on customer_answer is nullable
- Changed services.bearer_pwd length to 312 (the size of the token)
- Dropped services.api_token and service.api_token_date
2022-01-06 12:11:05 +01:00
c94827127b
fix arcadia testValidateGeneratedXmlGame 2021-12-05 19:29:10 +01:00
d748758676
update readme tests 2021-12-05 19:28:53 +01:00
e1b2d86315
cleanup git module flaw 2021-12-05 18:28:53 +01:00
4c9b760d09
update readme to run tests
change composer.json test memcache to use 127.0.0.1 instead of localhost
2021-12-05 17:31:09 +01:00
Jérémy Munsch
e6ffb668da
Merge branch 'develop' into trunk 2021-12-03 14:36:24 +01:00
Jérémy Munsch
28b04252ea
add LdcWebStatusChecker 2021-12-03 14:36:12 +01:00
Jérémy Munsch
c22068b8ea
update client 2021-12-03 14:32:04 +01:00
Jérémy Munsch
6495977d6d
Merge branch 'develop' into trunk 2021-11-15 11:35:16 +01:00
Jérémy Munsch
f0a771031c
Arcadia push order id in name 2021-11-15 11:34:57 +01:00
Jérémy Munsch
99af7a9460
Merge branch 'develop' into trunk 2021-11-12 17:03:37 +01:00
Jérémy Munsch
4c5f51bf97
fix customer show missing crud var 2021-11-12 17:03:20 +01:00
Jérémy Munsch
8a289f98ed
remove double paginator set in appservice provider 2021-11-12 17:03:01 +01:00
Jérémy Munsch
d6b0c5a039
add laravel-mix-clean 2021-11-10 16:57:03 +01:00
Jérémy Munsch
9be8a44be2
Merge branch 'develop' into trunk 2021-11-10 09:14:07 +01:00
Jérémy Munsch
afa3e06699
Arcadia xml add hint for xml failed 2021-11-10 09:13:45 +01:00
Jérémy Munsch
36b295add7
Merge branch 'develop' into trunk 2021-11-08 16:45:46 +01:00
Jérémy Munsch
f7edb2ff5e
force bump all kwaadpeppers dependencies 2021-11-08 16:45:30 +01:00
Jérémy Munsch
60df8ca280
Merge branch 'develop' into trunk 2021-11-08 16:02:16 +01:00
Jérémy Munsch
12eaeed020
export fix get where opt_in true 2021-11-08 16:01:45 +01:00
Jérémy Munsch
91a36d6c1a
Merge branch 'develop' into trunk 2021-11-08 15:02:30 +01:00
Jérémy Munsch
d38d8c861d
remove setServiceStat high retry 2021-11-08 15:02:15 +01:00
Jérémy Munsch
4a90b4bc22
Merge branch 'develop' into trunk 2021-11-08 08:55:46 +01:00
Jérémy Munsch
22d3cf0082
Fix repair_stats_jobs migration not deleting jobs 2021-11-05 16:23:01 +01:00
Jérémy Munsch
4294de1a6d
Remove redis queue and composer spatie/laravel-mix-preload in favor of a queue named "stats" with special supervisor conf 2021-11-05 16:22:36 +01:00
Jérémy Munsch
da63ec11c7
Merge branch 'develop' into trunk 2021-11-05 15:13:00 +01:00
Jérémy Munsch
9b5bbd9691
Merge branch 'stats' into develop 2021-11-05 15:12:05 +01:00
Jérémy Munsch
8562990623
Add client Stats unit tests
bump to version 2.3.0
2021-11-05 15:11:25 +01:00
Jérémy Munsch
69ac3abf5e
Stat Api phase 1 CRM side + test 2021-11-05 14:46:53 +01:00
Jérémy Munsch
55878c3228
print Stats to JS 2021-11-03 17:02:59 +01:00
Jérémy Munsch
d14f23a321
Stats exportCSV for both 2021-11-03 16:45:04 +01:00
Jérémy Munsch
675d06e701
Fix brand stat seeder 2021-11-03 16:27:00 +01:00
Jérémy Munsch
1e1ff0dfc8
composer bump league/csv 2021-11-03 16:01:34 +01:00
Jérémy Munsch
7b4faee998
Stats par questions 2021-11-03 15:11:41 +01:00
Jérémy Munsch
e678d22483
Fix stats generator and display scale 2021-11-03 11:36:38 +01:00
Jérémy Munsch
9f6ae7bd09
Stats graphs 2021-11-03 11:18:19 +01:00
Jérémy Munsch
27fe3bcb34
fix app layout 2021-11-03 08:29:22 +01:00
Jérémy Munsch
eb7936b1b4
remove unused dashboard blade 2021-11-02 15:29:35 +01:00
Jérémy Munsch
2cf420a6f9
remove unused local flashmessage 2021-11-02 15:11:06 +01:00
Jérémy Munsch
8a4aa7ddb5
Move export to top menu and toggle menu responsive fix 2021-11-02 14:57:23 +01:00
Jérémy Munsch
5ea4c1791e
Move logout on top menu bar 2021-11-02 14:10:04 +01:00
Jérémy Munsch
bccc1fb052
Service Stat with redis
composer require spatie/laravel-rate-limited-job-middleware
2021-10-29 17:32:30 +02:00
Jérémy Munsch
41943a6db8
Repair stats jobs migration 2021-10-29 17:31:27 +02:00
Jérémy Munsch
c97b61cc65
Service::incrementStat disaptch after response and on queue stats 2021-10-29 13:55:18 +02:00
Jérémy Munsch
6bd00e78d6
Brand stats part 1 Create and schedule brand stats 2021-10-29 12:53:46 +02:00
Jérémy Munsch
7f2575b165
Merge branch 'develop' into trunk 2021-10-26 16:57:00 +02:00
Jérémy Munsch
8938dc4201
Add Trust proxies for HA proxy funcking fix 2021-10-26 16:56:45 +02:00
Jérémy Munsch
468a984d37
Customers index fix reset sort columns 2021-10-26 16:23:18 +02:00