Commit graph

145 commits

Author SHA1 Message Date
Phan An
ffd77d0051
fix: save env file after init command 2022-08-03 12:01:32 +02:00
Phan An
9d3011fe2c
fix: koel:init 2022-08-02 10:21:05 +02:00
Phan An
971a3c2629
fix: make koel:init smoother 2022-08-02 08:22:08 +02:00
Phan An
61b6ffeeb1
chore(api): shorten display scanned file names 2022-07-31 18:45:34 +02:00
Phan An
4258873183
fix: broken tests 2022-07-29 13:08:24 +02:00
Phan An
3c5c24c104
feat: log init errors 2022-07-29 12:53:07 +02:00
Phan An
686c5f70fe
feat: revamp sync and sync commands 2022-07-29 12:51:20 +02:00
Phan An
b12e0c14a7
feat: adap release and init commands to new workflow 2022-07-29 12:49:55 +02:00
Phan An
bfd1008f6c
chore: clean up and make code php8-y 2022-07-29 09:04:44 +02:00
Phan An
a3c1f7aec4
fix(cs): broken static analysis 2022-07-27 20:08:57 +02:00
Phan An
09f54d26d5
fix(sync): properly ignore unchanged files 2022-07-07 12:45:47 +02:00
Phan An
58659c2e30
feat: better supports for compilation when scanning 2022-07-05 15:47:26 +02:00
Phan An
fbbe434204
feat!: make app progressive 2022-07-04 10:36:39 +02:00
Phan An
2cb64de316
feat: rename koel:tidy to koel:prune 2021-12-10 16:23:04 +01:00
Phan An
70696da096
feat: require PHP7.4 (#1326) 2021-06-05 12:47:56 +02:00
Robin Burchell
d9c2f9f368
fix: non-interactive database connection failures (#1306)
Two problems here:
1) endlessly attempting to reconnect (with no interval between attempts)
   is a nightmare that will use resources and spam logs with no respite
2) attempting to update the database credentials on a connection failure
   is definitely not the right thing to do, as they cannot be requested
   when non-interactive.

Problem 1 is not really an issue in interactive use, because the user
being asked for credentials will slow down the connection attempts.

Problem 2 _could_ conceiveably be a problem in interactive mode (if
there's some sort of transient connection failure), but if this is a
problem, it should perhaps be discussed & addressed separately.

Fixes #1294
2021-04-16 16:15:21 +02:00
Phan An
4432ad6c21 feat: use default admin credentials during setup 2021-01-23 19:58:08 +01:00
Phan An
d189c719ae feat(search): add Playlist as searchable 2021-01-05 17:52:16 +01:00
Phan An
0844833bfc fix: update the build command 2021-01-01 16:22:39 +01:00
Phan An
201da1caa5 feat: add Excerpt search 2020-12-24 13:41:18 +01:00
Phan An
dbb91d24f9 chore: rename the search:import command 2020-12-23 14:04:02 +01:00
Phan An
5293bd9da0 feat: add import:search command 2020-12-23 11:53:17 +01:00
Phan An
560d41bf1d chore: fix CS 2020-12-22 21:11:22 +01:00
Phan An
bf8feac8ea Merge branch 'master' of github.com:koel/koel into master 2020-09-06 23:28:32 +02:00
Phan An
4b799e85a7 feat: add PHPCSFixer 2020-09-06 23:20:42 +02:00
Phan An
e356e72814 feat: upgrade Laravel to 7.x 2020-09-06 20:21:39 +02:00
Svante Richter
e66b04a0a8
Build via github actions (#1231) 2020-07-15 15:20:02 +02:00
Phan An
2c69295ddd feat: Allow changing password of any user from command line 2020-06-13 21:57:00 +02:00
Phan An
e6eb28ba2d feat: add upload feature 2020-06-07 22:43:04 +02:00
Phan An
e6e452dbe5 fix: declare methods for AskForPassword trait 2019-11-29 21:51:21 +01:00
Phan An
4dabfd1c6f chore: improve password collecting for commands 2019-11-29 21:28:34 +01:00
Phan An
96fd0d28b1 fix: nullable User typehint 2019-10-23 15:51:37 +02:00
Phan An
c41e281930 feat: Allow changing admin password via console 2019-10-23 15:33:31 +02:00
Phan An
d55a823036 chore: Better handling errors during installation 2019-09-10 20:30:44 +02:00
Phan An
0024b88f3f feat: yarn output during installation is colored 2019-08-29 23:00:53 +02:00
Phan An
3edd800b4d Do not run yarn production post-install 2019-08-29 09:42:57 +02:00
Phan An
6dcb07d973 Run two yarn commands 2019-08-28 23:55:53 +02:00
Phan An
b3b9202ed8 Fix some problems with code analytics 2019-06-30 16:23:02 +02:00
Phan An
69cfab9515 Rename SyncCommand file 2019-06-30 13:22:01 +02:00
Javier López
7ba295efad Non interactive koel:init (#886)
* Use ADMIN_* variables if available to create the admin account

* Add APP_MEDIA_PATH for media directory

* Use the standard --no-interaction flag to koel:init

* Undo variable aligment and code formatting

* Prefer early return over else, add new line before return statements

* Some fixes
2019-01-01 12:53:20 +01:00
Phan An
5102e75698
Apply fixes from StyleCI (#803) 2018-09-04 12:43:12 +07:00
Phan An
140de34615 Some tweaks and fixes for sync cmd 2018-09-04 12:42:49 +07:00
Phan An
d88dd79f15 Fix basic errors detected by PHPStan 2018-08-31 20:47:15 +07:00
Phan An
fe34592e66
Apply fixes from StyleCI (#793) 2018-08-29 11:42:11 +02:00
Phan An
1558062428 Rewrite the file synchronization handling logic 2018-08-29 16:41:42 +07:00
Phan An
ca2e737554 Use observers for model events 2018-08-29 14:58:59 +07:00
Phan An
3825452658
Apply fixes from StyleCI (#790) 2018-08-29 09:07:44 +02:00
Phan An
3daa79afce Autoload command 2018-08-29 13:15:24 +07:00
Phan An
ffa05696c8 Upgrade to Larave 5.5 and PHP 7 2018-08-29 13:15:23 +07:00
Phan An
3ab55d438b
Apply fixes from StyleCI (#788) 2018-08-23 08:58:43 +02:00
Phan An
02d36c692e Refactor InitCommand 2018-08-23 08:58:22 +02:00
Phan An
49daef32ba
Apply fixes from StyleCI (#781) 2018-08-19 23:03:21 +02:00
Phan An
2c7b6765d2 Rename init cmd and make it DI 2018-08-19 23:03:02 +02:00
Phan An
a96bd3e326 Add test for GenerateJWTSecretCommand 2018-08-19 23:03:02 +02:00
Phan An
5cf19b09aa
Apply fixes from StyleCI (#779) 2018-08-19 17:26:52 +02:00
Phan An
f3887e6276 Rewrite Sync command 2018-08-19 17:26:34 +02:00
Phan An
a837432a4e Use proper DI for cache service 2018-08-19 16:58:14 +02:00
Phan An
5fbec01c50 Big revamp for artist and album info 2018-08-19 11:06:31 +02:00
Yohann Leon
024c87461a Dabase driver typo for koel:init (#698) 2017-12-11 21:50:32 +01:00
Phan An
71fa6305bf
Apply fixes from StyleCI (#691) 2017-12-03 17:54:34 +01:00
Phan An
e1b68cc53f Revamp the koel:init command 2017-12-03 17:54:11 +01:00
Phan An
edc33f99ae Set up the media path during koel:sync 2017-12-03 13:02:56 +01:00
Phan An
1919df1e20
Apply fixes from StyleCI (#678) 2017-11-08 14:11:45 +01:00
Phan An
c706391422 Apply fixes from StyleCI (#609) 2017-06-04 00:22:12 +01:00
Phan An
aa7267419d Massive refactorings 2017-06-04 00:21:50 +01:00
An Phan
d49cdde161
Change init comment wordings 2017-03-27 18:09:05 +08:00
An Phan
20db5d25bb
Update docs links 2017-03-01 19:06:07 +08:00
An Phan
f51e660501
Cache the media 2017-01-06 11:04:08 +08:00
An Phan
33a787fbca
Switch to yarn 2016-12-02 16:39:31 +07:00
bdgold
27933d49cf move env variables to config (#415) 2016-08-21 22:19:03 +07:00
X-Ryl669
8619c40282 Allow failure reason to be reported in verbose mode 2016-08-17 22:48:18 +08:00
Phan An
03407d5adc Applied fixes from StyleCI (#411) 2016-08-17 22:26:38 +08:00
An Phan
2504bb9a10
Add a progress bar when run koel:sync 2016-08-17 22:26:07 +08:00
Phan An
4eeb3d577c Applied fixes from StyleCI (#407) 2016-08-16 23:12:35 +08:00
An Phan
4480ad7ccf
Make PHPStorm happy 2016-08-16 23:12:11 +08:00
An Phan
65d403f857
Code style and refactor 2016-08-03 18:42:11 +08:00
An Phan
8c862cb9cc Use root namespaces 2016-04-02 21:16:09 +08:00
An Phan
d8d2dc8a5d Support force and selective-tags sync 2016-03-22 16:22:39 +08:00
Edvin Hultberg
b108af5d7c Removed metion of bower in koel:init command 2016-03-13 13:29:23 +01:00
An Phan
90b87d6acf Typo in docs 2016-02-16 00:39:13 +08:00
An Phan
82b7564472 Removed fswatch's trace 2016-02-06 17:40:02 +07:00
An Phan
3d5c77d032 Fix syngle 2016-02-04 23:37:12 +08:00
An Phan
50046a3485 Merge watcher 2016-02-04 23:10:36 +08:00
An Phan
5d690f272d Ditch fswatch for inotify 2016-02-04 23:04:53 +08:00
An Phan
5262fee853 Doc and style 2016-02-03 23:39:15 +08:00
An Phan
eff010149e Better doc for file watcher 2016-02-02 18:26:38 +08:00
An Phan
46f6141fa8 Add "watch" functionality (fix #213) 2016-02-02 16:01:11 +08:00
An Phan
f10fc5fa7d Add "watch" functionality 2016-02-02 15:47:00 +08:00
An Phan
61ad09bcd4 User feedback for JWT cmd 2016-01-31 21:46:05 +08:00
Phan An
3bc1bae5b0 Applied fixes from StyleCI 2016-01-15 02:28:34 -05:00
An Phan
dde43d6184 A more intuitive init command 2016-01-15 10:16:58 +08:00
Chris
aca3677500 Change songs(s) to song(s)
This makes more sense as all the other ouput handles plural this way in the file.
2015-12-29 23:56:19 -08:00
Matt Stauffer
ba7559570c Add an init command 2015-12-14 17:43:16 -05:00
Phan An
f9c9a4df2d Applied fixes from StyleCI 2015-12-14 08:22:39 -05:00
An Phan
0ee372882c Big Bang 2015-12-13 12:42:28 +08:00