Commit Graph

12 Commits

Author SHA1 Message Date
Guangcong Luo
596254779f Fix "Copy URL" button in admin control panel 2021-04-30 07:23:41 -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
Guangcong Luo
934eb7be2c Update ladders and docs 2021-01-22 12:38:50 -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
Guangcong Luo
4840788ad8 Support changing 2FA (Google login) in user page 2020-09-27 12:21:05 -04:00
Guangcong Luo
6d7201e458 Fix misc crashes 2020-09-06 21:52:50 -04:00
Annika
3c64386447
Merge ntbb-database only (#1587) 2020-08-02 17:42:44 -07:00
Guangcong Luo
38b66ef5ec Fix more things caused by website migration 2020-07-28 20:07:08 -04:00
Annika
7361473511
Support configurable URLs in the website (#1575) 2020-07-27 18:06:39 -07:00
Guangcong Luo
0bda3daa80 Update include paths and merge config.inc.php 2020-07-27 17:03:58 -07:00
Guangcong Luo
2105dc8e57 Add website to client repository
Closes #1567

The main reason I'm not simply merging Annika's PR is because this
way makes it clearer that I'm taking responsibility for all this
code, that it's mostly code I wrote, and also because it makes it
easier to ensure that none of the files have been changed.

(Not that I don't personally trust Annika, but I have something
resembling an obligation to users not to expose them to risks based
on personal trust.)
2020-07-27 19:37:04 -04:00