Commit Graph

99 Commits

Author SHA1 Message Date
Alexander Skvortsov
7f3c09c37e chore: add scaffolding exclude config
This ensures `flarum-cli audit infra --fix` works.
2022-01-25 21:17:18 -05:00
Alexander Skvortsov
3b8b491bce fix: suppress xdebug warnings 2022-01-25 18:06:36 -05:00
Alexander Skvortsov
cff8b01227 chore: exclude PHP 8.1 tests
These prompt deprecation warnings that break CI. We need to fix those, but that's a problem for a later time.
2022-01-25 18:02:27 -05:00
Alexander Skvortsov
66be0ba578 chore: bump yarn lock 2022-01-24 14:41:46 -05:00
Alexander Skvortsov
919ba129f4 fix: allow path repos
Temporarily configure cwd while running composer commands so that path repositories can be resolved properly.

Fixes https://github.com/flarum/package-manager/issues/6
2022-01-24 14:41:46 -05:00
Alexander Skvortsov
a7535ab20a chore: flarum-cli audit infra --fix 2022-01-24 14:41:29 -05:00
SychO9
8fecb6ae9a test: Add php 8.1 to tests 2021-11-25 23:54:46 +01:00
SychO9
488edaca7a test: Checking for updates and global updating 2021-11-24 20:16:25 +01:00
SychO9
5206e8e1dc chore: 200 status codes 2021-11-24 19:49:41 +01:00
SychO9
97ac47ea94 chore: Remove dead code 2021-11-24 19:41:32 +01:00
Sami Mazouz
1754313503 test: Updates (#11) 2021-11-24 18:25:43 +01:00
SychO9
b2d8f3dd5b Add actor to extension update event 2021-11-23 23:50:06 +01:00
SychO9
8e39edb200 chore: remove test code 2021-11-23 23:06:30 +01:00
SychO9
f4bb8158ef feat: misc additions
- Detect extensions that didn't update between updates
- Add composer why not command where approriate (when extension didn't update, when major update failed)
- Detect incompatible extensions in major update failure and show the extensions in the frontend
- Create last update run setting value which holds the state of the latest update runs
- Other fixes
2021-11-23 23:02:56 +01:00
SychO9
c8b8dacb67 Remove dead code 2021-11-20 16:59:24 +01:00
SychO9
2e3a78ca2d require core dev master when deving 2021-11-20 16:54:19 +01:00
SychO9
fd70b46c91 Re-run update check after update operations 2021-11-20 16:48:28 +01:00
SychO9
3497028cc0 Improve the logic behind the different features 2021-11-20 16:31:26 +01:00
SychO9
1fcd9b86d7 Remove testing code 2021-11-18 15:17:16 +01:00
SychO9
38cd56c351 Change minor updating to update everything as is currently 2021-11-18 15:14:22 +01:00
SychO9
71e812c386 Split responsibilities across different classes. 2021-11-17 20:53:27 +01:00
SychO9
3bd2dd4813 Move exception cause guessing out of handler 2021-11-09 20:32:09 +01:00
SychO9
7f5f5687db Auto append :* when installing an extension if not specifying a version 2021-11-09 20:06:03 +01:00
SychO9
594bbe4f34 Use an adapter class for composer 2021-11-09 17:38:47 +01:00
SychO9
c3f8a58f97 Only run migrations for enabled extensions 2021-11-08 22:07:30 +01:00
Sami Mazouz
a9ff884231 Extension Tests (#9) 2021-11-08 20:22:07 +01:00
David Wheatley
5cef9ad52c fix: use yarn in CI workflows (#10) 2021-11-03 08:39:59 +01:00
SychO9
a144c026f3 Move to flarum 2021-10-21 10:52:51 +01:00
SychO9
7e174dd08a [untested] Major Update handler (#1) 2021-10-03 10:58:17 +01:00
SychO9
2ce28f8e5c Improve update checking and add UI for major flarum update 2021-10-01 17:52:15 +01:00
SychO9
0aed124911 yarn format 2021-09-30 21:45:09 +01:00
SychO9
68a3133bbb Prepend input to composer output log (Fixes #7) 2021-09-30 21:44:27 +01:00
SychO9
670a4dd26a Add docs link 2021-09-29 14:31:07 +01:00
SychO9
2b8a85c933 fix: Only core update available not showing up 2021-09-29 14:19:02 +01:00
SychO9
79b5629125 fix: Buffer output 2021-09-29 14:04:53 +01:00
SychO9
1b65c6862e Log composer command outputs (Fixes #5) 2021-09-29 13:00:36 +01:00
SychO9
d878eeb92a Global Update (Fixes #2) 2021-09-29 12:07:53 +01:00
SychO9
77f0dca47e Extension state exceptions 2021-09-29 11:03:13 +01:00
SychO9
e19c9ea67c Post Composer Actions (Fixes #3) 2021-09-29 10:40:40 +01:00
SychO9
19da2e9827 Minor flarum update 2021-09-27 10:16:01 +01:00
SychO9
2812eada2c show remove option only when extension is disabled and isn't the package manager 2021-09-25 20:42:44 +01:00
SychO9
b3a62bbac4 Add Extension Updating 2021-09-25 18:33:17 +01:00
SychO9
26e09d1e9d Add Update Checker 2021-09-25 13:59:59 +01:00
SychO9
40e0a9672b File permissions alert and clear command failure message. 2021-09-22 22:08:51 +01:00
SychO9
ffaa88f526 Serializer ID 2021-09-01 20:30:00 +01:00
SychO9
3d6a467de9 Remove unnecessary provider 2021-09-01 20:26:28 +01:00
SychO9
ae5fb2f253 Remove unnecessary provider 2021-09-01 20:01:36 +01:00
SychO9
1d48c9878b Tweaks 2021-09-01 19:49:44 +01:00
SychO9
5d3804c7ca init 2021-09-01 17:20:06 +01:00