DariusIII
d9691d3ee7
Headers are an array
2021-07-30 09:02:06 +02:00
DariusIII
ffdf80f98c
Fix issue #1166 by user @egyptianbman. Closes #1166
2021-07-29 09:08:12 +02:00
Beshoy Girgis
043f9e9248
Escape Message-ID during update binaries
...
I ran misc/update/update_binaries.php manually because I noticed a lot
of missing parts that weren't going away and noticed sql errors on the
INSERT IGNORE. It turns out that some of the message IDs had single
quotes in them that inhibited the query from executing properly.
An example I found is: 200420092300004385%But-i-really@dont'care.com
(oddly enough, the single quote isn't in the word don't, but after...)
semi-sanitizing the data through the `addslashes` function takes care of
the problem -- I'm not aware if there's a more elegant method of
sanitizing that is available. Please let me know if there is and I'll
update.
2021-01-11 11:42:56 -06:00
DariusIII
f3cde99e37
Rename $match and variations to $hit for PHP 8 compatibility
2020-12-02 10:55:09 +01:00
DariusIII
02ad342bac
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-02-05 01:56:40 +00:00
DariusIII
b343c02c63
Update project files
2020-02-05 00:39:09 +00:00
DariusIII
5a8fff0020
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-11-01 19:52:18 +00:00
DariusIII
e70558f1a5
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-03-06 09:22:50 +00:00
DariusIII
47c1583992
Update switch.php and ProcessReleases, remove processing of releases and collectgions per group
2019-03-06 10:22:34 +01:00
DariusIII
7e56928831
Do some small code simplification
2019-02-20 12:58:00 +01:00
DariusIII
7396a479c0
Fix missing number on group processing time message
2019-02-19 22:02:04 +01:00
DariusIII
623edaaedb
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-02-19 14:56:46 +00:00
DariusIII
40e7233727
Rename groups table to usenet_groups as groups is a reserved word in mysql now
2019-02-19 15:54:32 +01:00
DariusIII
87c6e5d64f
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-02-03 20:01:19 +00:00
DariusIII
50ff1b6181
Update code style of various files
2019-02-03 20:58:51 +01:00
DariusIII
bab65321a9
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-01-31 19:18:57 +00:00
DariusIII
552a096d9a
Update and fix code with php-cs-fixer
2019-01-31 20:17:57 +01:00
DariusIII
4cea05777e
Fix typo in config check
2019-01-30 23:45:09 +01:00
DariusIII
04e8b17559
Log errors only if debugging is enabled
2019-01-30 15:34:47 +01:00
DariusIII
ed487c1299
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-01-29 12:51:58 +00:00
DariusIII
4b4de3acef
Replace usage of str_ helper with Str class directly to prepare for Laravel 5.8 changes
2019-01-29 13:33:35 +01:00
DariusIII
319e4f827b
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-01-10 10:10:17 +00:00
DariusIII
b0f5a9830c
Log Binaries class errors into storage/logs/laravel.log
2019-01-10 11:07:51 +01:00
DariusIII
718cf02857
Update xref matching regex
2019-01-08 20:41:54 +01:00
DariusIII
390e5c820b
Update xref matching regex
2019-01-08 10:07:30 +01:00
DariusIII
df1b857e26
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-01-08 00:23:55 +00:00
DariusIII
94cb947588
Alter Binaries class xref updates and adjust nzb creation accordingly
2019-01-08 01:23:39 +01:00
DariusIII
65a54b2f32
Revert Binaries to original behaviour
2019-01-07 19:42:37 +01:00
DariusIII
4955066a31
Remove debug line
2019-01-07 19:00:20 +01:00
DariusIII
96a7d6abda
Merge branch 'dev' of https://github.com/NNTmux/newznab-tmux into dev
2019-01-07 18:59:19 +01:00
DariusIII
5bb039aab7
Fix $collHashXref check
2019-01-07 18:58:11 +01:00
DariusIII
fcc2bccc22
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-01-07 16:32:14 +00:00
DariusIII
048e181162
Try to prevent insertion of duplicated Xref data
2019-01-07 17:31:54 +01:00
DariusIII
c5dc57a9df
Update collection hash creation
2019-01-05 08:46:09 +01:00
DariusIII
960c9e5cd5
Use group name for collectionsCleaner in Binaries class
2019-01-03 10:51:37 +01:00
DariusIII
4c63aab0ad
Update Binaries class, add unique index to binaries table
2019-01-03 02:55:21 +01:00
DariusIII
ccecbe2a6b
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-01-01 22:08:23 +00:00
DariusIII
4104f34c54
Update all the \Blacklight namespace classes with class PHPDOC block
2019-01-01 23:07:45 +01:00
DariusIII
503283f398
Fix couple of leftover lines pointing to non-existing functions
2019-01-01 15:09:29 +01:00
DariusIII
3d9695e4c3
Revert Binaries to pre-tpg and mgr state, with single tables for binaries, collections, parts and missed_parts
2019-01-01 14:53:24 +01:00
DariusIII
5fdb38079f
Do not fetch mgrposters if allAsMgr is enabled
2018-12-31 10:10:06 +01:00
DariusIII
98303e9613
Do more time conversion/updates changes in Binaries class
2018-11-29 21:47:35 +01:00
DariusIII
6cacbc7195
Update variable definitions
2018-11-29 21:08:53 +01:00
DariusIII
2dad4ee96e
Use now() helper for calculating scripts runtime
2018-11-29 20:49:20 +01:00
DariusIII
529b9ce731
Simplify functions that check for mgrPoster variable
2018-11-29 20:10:27 +01:00
DariusIII
ea4d98d4e1
Use DB::statement in place of DB::unprepared + DB::commit
2018-11-29 14:47:00 +01:00
DariusIII
12ea3bb895
Refactor ColorCLI class
2018-10-31 10:10:17 +01:00
DariusIII
bafe7c6b93
Use league/climate in ColorCLI class
2018-10-19 11:30:36 +02:00
DariusIII
3c20dd8437
Add escapeString helper function
2018-10-12 10:56:17 +02:00
DariusIII
7b522cb299
Fix undefined offset 0 in Binaries class postdate function
2018-09-26 14:44:56 +02:00