Commit Graph
49 Commits
Author SHA1 Message Date
Spine 72dec9658c FLS are allowed to see torrent clients 2020-04-30 17:00:36 +00:00
Spine c00bd16cfa don't leak staff clients 2020-04-30 17:00:36 +00:00
Spine ac4ed71d42 Finish refactoring of manual donations 2020-04-23 15:48:44 +00:00
Spine 6b25948fba Read and write tokens in user_flt table only 2020-04-18 19:30:39 +02:00
Spine 9031a866e2 parallel write of FL tokens to user_flt table 2020-04-13 16:37:22 +00:00
Spine 5f984273d8 restore recent uploads/snatches widgets, add caching 2020-03-29 12:17:57 +02:00
Spine 89b7800029 read from user_bonus.points 2020-03-22 21:35:58 +01:00
Spine 0d31d176ae Begin to read from the user_last_access table 2020-03-21 19:56:28 +01:00
Spine 57e697244f fix typo 2020-03-13 18:41:30 +01:00
Spine 4cc75c838c Implement rate-limiting for torrent file downloads 2020-03-13 18:17:20 +01:00
Spine ddbddcb118 move bp queries from sections/ to app/Bonus to keep them all in one place 2020-03-10 23:51:32 +01:00
Spine 23d550c26f Implement attribute tables and allow users to decline gifts of FL tokens. 2020-03-04 12:25:16 +00:00
Spine b22fd76ae6 begin moving User functionality from sections/ to app/ 2020-03-04 11:29:11 +00:00
Spine c82acddcfb replace extract() with array dereferences 2020-01-12 16:46:51 +01:00
Spine 0eb53fe650 fix other token paranoia 2019-12-27 10:46:01 +01:00
itismadness 3cb4b2e72e Replace long array definitions with short tokens (!66) 2019-11-26 03:24:03 +00:00
itismadness b74464047e fix hanging </a> tag on Points per hour 2019-10-22 23:07:35 +01:00
Quetzal cdd6311435 Minor bug fix omnibus (#47) 2019-10-22 13:28:00 +00:00
Spine c69cf992d7 read and write leech stats from dedicated tables (#10) 2019-10-20 11:15:42 +00:00
kilogitty a4af98197d Replace all empty array() initializers with [] (#43) 2019-10-15 21:46:31 +00:00
kilogitty ecec8541e5 Replace all short tags with regular php tags (#35) 2019-10-13 18:12:49 +00:00
itismadness 211ce4d173 replace tabs with spaces (#12) 2019-09-17 22:09:49 +00:00
Quetzal 26c0baff2f Enable stats (#115) 2019-07-08 09:50:41 +00:00
Bifrost 253a675fd9 User Stat Graphs (#108) 2019-06-02 13:34:02 +00:00
Musaeus Eleusinius ed6fd1f707 Add view on User profile to tell if IRC Key is present or not (#15) 2018-12-16 10:08:54 +00:00
hhmhhm acb15611ef Exclude own uploads from Snatched list.
* Exclude own uploads from Snatched list.

* Ignore uploaded torrents when cache doesn't exist viewing user

* Update download.php
2018-11-11 22:05:07 -05:00
Spine 9617f5b045 Fix for viewing bp rates and history 2018-10-25 16:40:13 +02:00
itismadness efe413465e Add copy-paste page for easy copy-pasting of user information (!98)
Squashed commit of the following:

Author: Athena <[email protected]>

    Add copy-paste page for easy copy-pasting of user information.
2018-07-29 20:55:33 -04:00
itismadness 67ad079c56 Show Buffer after Uploaded and Downloaded stats on User Page (!90)
Squashed commit of the following:

Author: Spine <[email protected]>

    show Buffer after Uploaded and Downloaded stats
2018-07-26 18:42:57 -04:00
itismadness d6d0d5fff6 Add invites to BP store, add purchase log, no longer give invites via schedule
Squashed commit of the following:

Author: Spine <[email protected]>

    schema additions for bonus points
    we do not hand out invitations any more
    move Bonus code from classes/ to app/
    BP items are now stored in the database, purchase history is recorded, add invites as an item to purchase
    Fix some stupid bugs
    switch reversed title labels

Author: itismadness <[email protected]>

    Fix coding standards and some slight bugs
    Fix join I broke by renaming SQL columns
    Remove double charge on purchasing titles
    Update user page to properly reflect capitalization change in arrays
    Check that user meets MinClass for purchasing invites
    change price for invite to 20,000 BP
2018-03-09 00:30:25 -05:00
itismadness cfcb2b0b02 Allow the gifting of FL tokens directly from a member page (!49)
Squashed commit of the following:

Author: Spine <[email protected]>

    oops: send PM to userid, not username
    Allow the gifting of FL tokens directly from a member page
2018-01-26 09:34:09 -05:00
itismadness ba6eafe7c4 Add apply.php to allow people to apply to staff (!15)
Squashed commit of the following:

Author: itismadness <[email protected]>

    add link to apply on staff.php

Author: Spine <[email protected]>

    Initial implementation of Applicant feature
    Access applicant board through a custom permission
    allow the framework to be run from the command-line
    fix spelling

Author: itismadness <[email protected]>

    add migration for applicant stuff

Author: Athena <[email protected]>

    fix small bug introduced by last push

Author: Spine <[email protected]>

    various grammar tweaks
2018-01-18 18:00:31 -05:00
itismadness af23a86916 add bp/hour on user page, add confirm to purchase page 2017-11-26 21:43:40 -05:00
itismadness 085c99e918 make public the BP system 2017-11-22 09:45:26 -05:00
O 5a34b23747 Merge branch 'bonus_points' into 'master'
Bonus points

This also breaks apart schedule.php into something that is way easier to manage going forward than it was in its huge monolithic form. Also re-enables pruning of xbt_files_users which will fix the peer stats on the front page.

DB Changes:
```
ALTER TABLE users_main ADD BonusPoints FLOAT(20,5) DEFAULT 0 NOT NULL;
ALTER TABLE users_main
  MODIFY COLUMN BonusPoints FLOAT(20,5) NOT NULL DEFAULT 0 AFTER Downloaded;

ALTER TABLE users_info ADD DisablePoints ENUM('0', '1') DEFAULT '0' NOT NULL;
ALTER TABLE users_info
  MODIFY COLUMN DisablePoints ENUM('0', '1') NOT NULL DEFAULT '0' AFTER DisablePM;

ALTER TABLE xbt_snatched ADD COLUMN `seedtime` integer(10) NOT NULL default 0;
```

NOTE: After installing this, it's probably worth watching schedule.php run for a bit to make sure there are no hiccups with the rewrite.

See merge request !84
2017-11-04 14:29:40 +02:00
itismadness e05c23e701 merge master 2017-10-28 21:40:34 -04:00
Spine 2418fe6876 replace '// comment ?>' by '/* comment */ ?>
This is mainly for browsing the code on gitlab, as the
sytnax colorizer gets confused by this construct.
2017-10-28 19:42:31 +02:00
Spine 347d5eff57 Give members the ability to edit FL tokens on a per-user basis.
(This should be granted a posteriori to all current Moderator-level
members and future Moderators).
2017-10-08 15:18:51 +02:00
itismadness 418a47da72 add ability to view bprates for other users 2017-10-02 18:03:52 -04:00
itismadness 4b4d7cf9fd update bonus point stuff 2017-10-02 00:25:00 -04:00
itismadness 409d2fd902 implement store 2017-10-01 22:38:50 -04:00
root 1d61bb10b1 Revert "Merge branch 'revert-e0ae2cad' into 'master'"
This reverts merge request !73
2017-09-28 03:26:49 +03:00
root 47a5f411ea Revert "Merge branch 'logchecker' into 'master'"
This reverts merge request !61
2017-09-28 02:59:31 +03:00
itismadness 3439280f21 merge master 2017-09-25 17:21:07 -04:00
itismadness 469bfdcc8d allow admins to disable 2FA for users 2017-09-21 23:41:02 -04:00
itismadness 16ac27cfa0 add ability for mods to disable 2FA 2017-09-21 23:24:31 -04:00
itismadness 7ed090f2c4 wip 2017-09-17 16:24:38 -04:00
itismadness ae8e4f8c92 fix the group dropdown on editing member page showing all groups 2017-07-29 14:01:45 -04:00
A 4dc87d0c22 initial commit 2016-12-19 22:55:12 -05:00