PyR8zdl
dd67d63cbb
Fixed Logical Operator
2020-03-18 16:23:21 -05:00
PyR8zdl
91122f532c
ADD new options on torrent upload **STILL TESTING**
...
Adds options to set torrent as Featured, DoubleUp, Freeleech, and Sticky on upload api endpoint.
I've done limited testing on this and I'm worndering if this could be done better.
2020-03-18 16:00:13 -05:00
HDVinnie
8dbed58c0c
Merge pull request #1242 from cbj4074/issue-1193
...
fix: Fix Tipping regression
2020-03-13 00:57:15 -04:00
Ben Johnson
f853b3310a
fix: Fix regression
...
57212ca263 introduced the following change:
52c3d55794/app/Http/Controllers/BonusController.php (L489)
This broke Tipping as described in:
https://github.com/HDInnovations/UNIT3D-Community-Edition/issues/1193
2020-03-11 10:57:28 -04:00
shlandturtle
f0dacdc69a
fix: Lang for application submitted message
2020-03-11 09:54:20 +00:00
shlandturtle
d1a00bea4a
fix: HnR count on profile
2020-03-08 20:53:49 +00:00
shlandturtle
89396e8068
fix: internal in API
2020-03-08 17:27:08 +00:00
shlandturtle
ba8a2caa06
add: Caching for public RSS feeds
2020-03-07 19:14:02 +00:00
HDVinnie
75b3d01fd5
Merge pull request #1215 from shlandturtle/publicEmailList
...
(Add) Show email list at application and register pages
2020-03-07 09:50:40 -05:00
shlandturtle
cb64a738ef
add: Show email list at application and register pages
2020-03-07 12:24:26 +00:00
Ben Johnson
c094a96b96
Merge pull request #1205 from stonedbovines/development
...
fix: correct units in various files
2020-03-06 16:32:15 -05:00
Ben Johnson
a986681184
fix: Fix incorrect byte values
...
Aside from fixing the units, which mixed binary and metric
inadvertently, this commit adds an interface to a third-party library
that handles the conversion much more elegantly and provides flexibility
for future needs of a similar nature.
2020-03-06 13:24:23 -05:00
HDVinnie
6160c03ede
refactor: change variable with read only status and default value to a constant
2020-03-06 09:04:22 -05:00
HDVinnie
a9574f2228
chore: phpdoc block cleanup
2020-03-05 11:23:49 -05:00
HDVinnie
408bfafc3e
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-03-05 15:47:30 +00:00
HDVinnie
4b9c006a05
chore: phpdoc blocks cleanup
2020-03-05 10:46:14 -05:00
HDVinnie
ce483b1dab
Merge pull request #1197 from shlandturtle/staff-forum-area
...
(Add) Send notifications instead of chat announce for posts at staff area
2020-03-05 08:15:32 -05:00
shlandturtle
e3c6976aaf
add: Send notifications instead of chat announce for posts at staff area
2020-03-05 07:12:43 +00:00
Ben Johnson
b9aa73c31c
tests: Add FollowController tests
2020-03-04 10:49:33 -05:00
HDVinnie
d0b247c33e
Merge pull request #1201 from shlandturtle/bugs
...
(Fix) Typos related to chat system announces
2020-03-04 08:50:51 -05:00
shlandturtle
9d32c0ba02
fix: Chat related system announcement typos
2020-03-04 11:00:28 +00:00
Ben Johnson
016f948687
fix: Move calls to env() out of UsersTableSeeder
...
env() calls should be made *only* from within config files.
Note that the 'owner-username' is not prepended with 'default-' because,
unlike the other two values, it should not be changed after
installation, specifically because the account should always be
looked-up by username and not ID (despite existing code that currently
does the latter).
2020-03-03 21:25:39 -05:00
HDVinnie
b5c0471576
tests: staff mass action controller
2020-03-03 11:33:17 -05:00
staticza
e3df04bca4
Fix error in check/delete of torrent after failing validation
...
Check / delete of torrent file was referencing the incorrect disk. It was referring to `torrent` instead of `torrents`.
2020-03-02 00:58:49 +02:00
Ben Johnson
57212ca263
tests: Add BonusController tests
2020-02-28 10:57:28 -05:00
Ben Johnson
73bee5a9b3
tests: Add Announce and Article controller tests
2020-02-27 14:40:51 -05:00
Ben Johnson
6b172b051d
tests: Auth controller tests
2020-02-25 16:57:11 -05:00
HDVinnie
8fa0839384
update: announce controller
...
- dont cache connections
2020-02-25 09:53:56 -05:00
Ben Johnson
aa32a893fa
tests: Implement TorrentController API tests
...
As part of this effort, a dedicated "torrents" storage location was
added to filesystems.php, which affects the torrent file storage
location. Accordingly, the torrent files in existing installations will
need to be moved (or symlinked) upon upgrade. The primary reason for
this change is mentioned in the Laravel docs: "This convention will
keep your publicly accessible files in one directory that can be easily
shared across deployments when using zero down-time deployment systems
like Envoyer."
2020-02-24 15:24:50 -05:00
Ben Johnson
a6f606ed9f
tests: Improve several tests
2020-02-21 17:51:22 -05:00
Ben Johnson
5db70a9ea8
tests: Flesh-out several more ChatController tests
2020-02-20 16:38:43 -05:00
Ben Johnson
837d84c82a
tests: Add a couple more tests
2020-02-19 22:08:19 -05:00
HDVinnie
605c337204
refactor: encapsed strings to sprintf
2020-02-17 13:52:20 -05:00
HDVinnie
29cd6e8eb6
refactor: use identical over equal with same type
2020-02-16 21:04:19 -05:00
HDVinnie
9cf874de7a
update: poll system
2020-02-16 17:05:17 -05:00
HDVinnie
8cb017aa7e
Merge pull request #1153 from HDInnovations/development
...
(Update) Polls System
2020-02-16 09:58:39 -05:00
HDVinnie
54328ae883
Merge pull request #1130 from gyakkun/patch_poll-adjust
...
Adjust logic for poll.
2020-02-16 09:57:05 -05:00
HDVinnie
d393ac779b
Merge pull request #1126 from gyakkun/patch_impl-poll-edit-delete
...
Implement polls edit and delete.
2020-02-16 09:56:32 -05:00
HDVinnie
3b72e0a3f7
update: announce controller
2020-02-14 16:35:20 -05:00
gyakkun
957ac57b4b
remove: Purge ip_checking in models and views of poll.
2020-02-15 04:19:25 +08:00
HDVinnie
0eb606aa51
refactor: remove unnecessary ternary expression
2020-02-14 13:08:04 -05:00
Gyakkun
ae8014a96a
Merge branch 'development' into patch_impl-poll-edit-delete
2020-02-14 12:53:20 +08:00
HDVinnie
6eaeb07fc1
refactor: simplify ifelse to ternary
2020-02-13 17:30:47 -05:00
gyakkun
6a1aa7d48e
misc: CI.
2020-02-14 02:35:21 +08:00
gyakkun
5bfcca080a
fix: Too few arguments to function Controllers\ReportController::user().
2020-02-14 02:30:13 +08:00
HDVinnie
b275e9ba82
refactor: combine nested if statements
...
### `Combine If Rector`
Merges nested if statements
```diff
class SomeClass {
public function run()
{
- if ($cond1) {
- if ($cond2) {
- return 'foo';
- }
+ if ($cond1 && $cond2) {
+ return 'foo';
}
}
}
```
2020-02-13 11:26:54 -05:00
gyakkun
cb4f912653
revert: Revert "update: Semantic adjustment in poll/vote."
...
This reverts commit 7856d27dbf .
2020-02-13 12:58:29 +08:00
gyakkun
b3c8f82935
misc: CI.
2020-02-13 12:33:00 +08:00
gyakkun
7856d27dbf
update: Semantic adjustment in poll/vote.
...
Both controller and view.
2020-02-13 12:19:34 +08:00
gyakkun
621f7ba437
update: Validation logic for poll.
2020-02-13 12:18:52 +08:00