Commit Graph
20 Commits
Author SHA1 Message Date
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