Guangcong Luo
66238a9ee0
Refactor ntbb-session with auth checking
...
Auth checking was done relatively sporadically in the past, but this
change adds $users->isSysop/isAdmin/isLeader for more centralized
auth checking.
2021-07-05 18:25:35 -04:00
Guangcong Luo
ca91a728eb
Split website/servers.php into website/servers/
...
This splits servers.php into two files: servers/index.php and
servers/server.php.
2021-07-05 18:07:34 -04:00
Guangcong Luo
9c334ac890
Reject invalid email addresses for 2FA settings
...
This isn't a real validation, it's just to guard against typoes.
2021-07-05 18:07:34 -04:00
Guangcong Luo
4554858226
Require Admin (not Leader) to reset passwords
...
At some point, Leaders were given the ability to reset passwords. But
the permissions were always intended to be scoped to the Admin
position which requires a working 2FA setting.
2021-07-05 18:07:34 -04:00
Mia
2d37d2353a
Support specifying prefixes in ladder/*.json requests ( #1832 )
2021-07-04 15:51:38 -07:00
Leonard Craft III
a859faf85c
Update password reset links ( #1824 )
2021-06-06 18:41:36 -07:00
Guangcong Luo
596254779f
Fix "Copy URL" button in admin control panel
2021-04-30 07:23:41 -04:00
Guangcong Luo
8b9df34cfb
Update Credits
2021-04-30 07:23:41 -04:00
Lionyx
e2e7b07cad
Fix minor error in Ladder Help page ( #1761 )
2021-04-22 20:00:42 -07:00
Annika
9fcfeab36d
Credits: Add Shellnuts and Enigami
2021-04-22 16:52:00 -07:00
Annika
4b428cbf9d
Add Spanish translation for the Privacy Policy
...
Credits to Dorron
2021-04-14 14:59:54 -07:00
Annika
5b3d1f868a
Fix whitespace mistakes in Spanish FAQ
2021-04-03 18:13:30 -07:00
Annika
61f244618c
Website: Add more Spanish translations
...
Courtesy of Dorron
2021-04-03 18:10:04 -07:00
Guangcong Luo
a872ad08d8
Fix multi/FFA support
...
The original multi battles implementation had basically no support for
FFA, so this adds that support. I also fixed a lot of bugs that
apply to multi battles as well.
2021-04-02 02:36:07 -04:00
Guangcong Luo
add22fbf0a
Fix ladder reset permissions
2021-03-18 17:26:45 -04:00
Guangcong Luo
15e732c8de
Fix crash in "Copy URL" button
2021-03-18 17:26:45 -04:00
Mia
95bbe72129
Add a button to copy/paste password reset urls ( #1728 )
2021-03-15 07:54:45 -07:00
Annika
359f0915ec
Website: Add Spanish translation for FAQ and Staff
2021-03-09 09:50:26 -08:00
Annika
8e81d19b45
Credits: Move The Immortal to Retired Staff
2021-02-10 12:35:05 -08:00
Guangcong Luo
934eb7be2c
Update ladders and docs
2021-01-22 12:38:50 -05:00
Marcell
646c07efc1
Translate RNG article to German ( #1604 )
...
* Translate rng faq to german
I translated the rng faq to german.
* Improve german RNG article phrasing
2020-12-30 17:47:59 -08:00
Marcell
222caf2e80
Improve RNG article phrasing ( #1605 )
2020-12-29 08:41:41 -08:00
Mia
f3a77dc28a
Comply with Google API ToS properly ( #1698 )
...
* Update compliance
* Add note to the rules page
* OK
* Update src/battle-log.ts
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
* Update battle-log.ts
* Update website/pages/privacy.md
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
* Update website/pages/rules.md
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
* Update src/battle-log.ts
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2020-12-23 00:27:02 -08:00
Guangcong Luo
fb2e17e3ed
Update Credits for pyuk's new username
2020-12-03 15:08:34 -05:00
Annika
ca9a6ee311
Usermodlog: Hide emails from lower staff ( #1675 )
2020-11-22 00:49:48 -08:00
Guangcong Luo
eb31ed9411
Sync website pages
...
- <<requesthelp>> for an Other help request. No need to go to the main
help request page because <<report>> and <<appeal>> already exist.
- /pages/formatsuggestions
- Credits: link to Spandan's personal page
2020-11-17 20:55:56 -05:00
Guangcong Luo
4df93cd077
Fix /users/0
...
The website API now reports userid '0' as an unregistered user.
Apparently PHP treats the string '0' as falsy. In the interests of
not overhauling literally all our APIs, I've decided to only change
the code in the website API. The rest doesn't need to be changed
because number-only userids haven't been allowed for a very long
time.
Fixes https://github.com/smogon/pokemon-showdown/pull/7704
2020-11-17 20:53:41 -05:00
1Mitsuki
6dc0176665
Update faq-pt.md ( #1651 )
...
That was an overlook
2020-11-12 11:46:42 +04:00
Kris Johnson
7f7857d5b1
Update credits ( #1660 )
2020-11-08 17:27:09 -08:00
Annika
7e671835a9
Website: Clarify the FAQ ( #1659 )
...
https://www.smogon.com/forums/threads/translating-more-commands-for-ps.3653753/page-4#post-8651047
2020-11-08 14:42:17 -08:00
Annika
dd86028a7f
Remove trailing whitespace
2020-11-08 13:30:36 -08:00
Annika
6f046fbccb
Website: Add Italian translation for the FAQ
...
Courtesy of Alpha and Milak
2020-11-08 13:29:34 -08:00
Annika
51f097893d
Website: Add Portguese translation for the FAQ ( #1648 )
2020-10-30 09:51:19 -07:00
Guangcong Luo
c53511b5d7
Add PartMan and Plague von Karma to Credits
2020-10-29 16:24:40 +00:00
Guangcong Luo
41924294b5
Update Credits
2020-10-29 13:17:34 +00:00
Annika
76799f3f77
Website: Redirect to latest bug reports thread ( #1638 )
2020-10-20 00:51:16 -07:00
Guangcong Luo
4840788ad8
Support changing 2FA (Google login) in user page
2020-09-27 12:21:05 -04:00
Annika
0c8ed68c1f
Usersearch: Support searching by IP range ( #1621 )
2020-09-22 18:16:33 -07:00
Lionyx
452cab4ffe
Update Contact page with modern links ( #1617 )
2020-09-14 02:10:26 -07:00
Mia
1093637480
Rename mia-pi in Credits ( #1616 )
2020-09-11 12:52:17 -07:00
Guangcong Luo
f2483307d1
Update Credits
2020-09-10 23:11:56 -07:00
Annika
6f7ec9aaaa
Website: Fix bug in usersearch ( #1614 )
2020-09-07 13:42:14 -07:00
Guangcong Luo
672aed2d45
Remove Yilx link from credits
...
(Requested by Yilx, I assume? It was in uncommitted code.)
2020-09-06 21:54:22 -04:00
Guangcong Luo
6d7201e458
Fix misc crashes
2020-09-06 21:52:50 -04:00
Annika
2a40024cea
Website: Update the FAQ page ( #1611 )
2020-09-05 17:41:33 -07:00
Annika
1a396ae5a3
Website: Fix lock duration in the Staff FAQ ( #1613 )
2020-09-05 17:34:46 -07:00
Lusamine
cc8eb59665
Remove Anubis from credits ( #1615 )
2020-09-03 17:00:38 -07:00
Kirk Scheibelhut
8ff355c456
Update credits
2020-09-03 12:56:29 -07:00
Guangcong Luo
2a5214fa2f
Remove COPPA mention from Privacy Policy
2020-08-30 09:50:50 -07:00
Marcell
855d24c2bb
Translate faq ladder to german ( #1607 )
2020-08-29 10:26:36 -07:00