Commit Graph

5517 Commits

Author SHA1 Message Date
Karthik
0d1baef577 Fix /clearignore (#1895) 2021-12-13 22:04:17 -05:00
Karthik
d281954476 Teambuilder: Fix CAP LC & BDSP Hackmons (#1905) 2021-12-13 12:00:56 -05:00
missyaria
5613045792 Make hyperlinks more visible when displayed in /wall (#1907) 2021-12-08 16:10:55 -08:00
missyaria
5ff8276090 Separate subroom buttons in roomlist (#1903) 2021-12-08 02:26:59 -08:00
Karthik
5f09c4b46a Teambuilder: Fix automatically setting required items (#1906) 2021-12-06 16:58:00 -08:00
Karthik
fea7f88e08 Teambuilder: Set Arceus forme item to Plate in Gen 4-6 & BDSP (#1894) 2021-12-02 16:35:46 -08:00
Kris Johnson
23c9e4d5a1 Add teambuilder support for BDSP CAP (#1901) 2021-12-02 14:11:59 -08:00
Dirain1700
82a6cfe558 Fix link to faq-ja (#1902) 2021-12-02 11:41:31 -08:00
Kris Johnson
399b33834d Add BDSP Monotype teambuilder support (#1900) 2021-12-01 12:42:26 -08:00
Mia
ade1c4e44f Polyfill Array#forEach (#1896) 2021-11-29 10:05:36 -08:00
Mia
064c9d24f9 Fix typo (#1899) 2021-11-29 11:50:05 -05:00
Mia
42f75cde37 Fix uploading replays (#1898)
the `?act=uploadreplay` breaks when removing the /~~serverid/action.php magic.
2021-11-29 11:38:33 -05:00
Guangcong Luo
9327a27d36 Fix bug in user admin panel
Probably one day we should investigate why group numbers are strings
but also probably our solution will be to switch to TypeScript.
2021-11-25 20:52:52 -05:00
Guangcong Luo
e74eac22d1 Update dependencies 2021-11-25 20:52:51 -05:00
Guangcong Luo
efa553d96b Build: Move ads/analytics into config
This keeps ads/analytics out of the repository, since they
shouldn't be used in forks and dev machines anyway.

Hiding ads in `website/news/include.php` was a thing I did in
the early days because one of the devs was ashamed of ads, and
`website/` wasn't in a public repository at the time. At this
point, though, I'm done being ashamed of it. You can obviously
see ads on the website and everyone knows they fund the server.
2021-11-25 20:52:51 -05:00
Annika
60acf3d92e Italian translation: Remove insulting remark
Requested by translations leader Iyarito
2021-11-25 11:43:20 -08:00
Guangcong Luo
0a47f395e4 Fix crash in build 2021-11-24 17:43:30 -05:00
Aegide
8d7637a60d Update fxPrefix for gender sprites (#1891) 2021-11-22 11:03:11 -08:00
Dirain1700
0f9cf6e094 Fix translation errors (#1892) 2021-11-21 13:54:40 -08:00
Karthik
642de870aa Teambuilder: Fix past moves not showing in natdex (#1893) 2021-11-21 13:49:37 -08:00
Guangcong Luo
66ba58fc61 Fix animated sprite data in testclient
We were relying on the existence of `sprites/` to decide whether to
build sprite data, but at some point `sprites/` has had a few things
bypassing `.gitignore`. The new detection should be more reliable.

I also added some code to correct previous mistaken builds.

Fixes #1851
2021-11-21 16:18:47 -05:00
Karthik
73042b0ded Teambuilder: Fix bugs from #1889 (#1890) 2021-11-18 20:03:01 -08:00
Guangcong Luo
b2ec75af6f Update for latest TypeScript
This seems to be a clear TypeScript bug, but oh well, the workaround
is likely to be better code anyway.
2021-11-18 22:31:18 -05:00
Kris Johnson
6cd9a91b53 Add BDSP teambuilder support (#1889)
* Finish client stuff

* Add BDSP doubles support

* Fix build
2021-11-18 19:21:11 -05:00
Guangcong Luo
0db27ee2d6 Improve documentation of $outPrefix 2021-11-15 18:38:20 -05:00
Guangcong Luo
7945207613 Allow chaos/Zarel to demote admins
QoL change. For security reasons, promoting to admin still requires
direct database access.

Fixes #1888
2021-11-12 15:25:36 -05:00
Guangcong Luo
6f6f2c1da9 Memorialize Aulu account 2021-11-12 15:24:47 -05:00
Karthik
91f5cbd2c7 Teambuilder: Set format when importing Pokepaste (#1887) 2021-11-10 10:10:16 -08:00
PartMan
02538c21a8 Teambuilder: Fix bug caused due to #1882 (#1886) 2021-11-07 08:42:26 -05:00
PartMan
24db697fd6 Teambuilder: Add team format to Pokepaste export (#1882) 2021-11-07 00:07:26 -04:00
En Passant
e5161ff88b Dex Search: Fix CAP header (#1884) 2021-11-06 18:23:46 -04:00
pyuk-bot
4e7f5ae261 Fix persistent forme changes while Dynamaxed (#1883) 2021-11-06 18:22:02 -04:00
Leonard Craft III
709bce38e4 Improve Team Preview decision text (#1885) 2021-11-05 12:04:32 -07:00
Dirain1700
004b70e57f Website: Add pages translated into Japanese (#1880)
Translated by ililililililili and Dirain1200.
2021-10-30 22:21:07 -07:00
Guangcong Luo
bda53f8027 Remove a reference to Lodash in replay-embed
(replay-embed is used to play back downloaded replay files)

In #907, we forgot to update a reference from `lodash.compat` to
`lodash.core`. Nothing broke, though, so this was never noticed.

lodash is no longer a dependency of most modern PS files (we've switched
to `ps-polyfill`, mostly). So it's better to just remove the dependency
here.

(Also add a header comment documenting the file a little.)
2021-10-30 16:36:07 -04:00
Karthik
35f8024807 Teambuilder: Fix some LC Pokemon showing twice (#1881) 2021-10-26 21:13:39 -04:00
Mia
03f1889236 Fix selecting a partner (#1879) 2021-10-24 16:31:15 -04:00
Karthik
45b82c1ce6 Teambuilder: Show Acid Armor as a good move (#1877) 2021-10-24 15:52:41 -04:00
Karthik
94f90f6c8b Teambuilder: Show Restricted Legendaries for Series 11 (#1878) 2021-10-24 15:51:58 -04:00
Mia
d3ac6c449d UI for laddering multi battles with a partner (#1739) 2021-10-24 12:04:46 -07:00
Guangcong Luo
43c2dccc8d Fix absolute URLs in CSS files
(These images weren't working when opened in `file:` URLs)
2021-10-23 22:47:28 -04:00
Guangcong Luo
c2aa10821c Fix connecting to localhost servers
Fixes https://github.com/smogon/pokemon-showdown/issues/8484
2021-10-23 22:43:26 -04:00
Guangcong Luo
670828d162 Stop interpreting .html files in URLs as rooms 2021-10-23 22:43:26 -04:00
Karthik
eadef3247e Teambuilder: Support sorting in reverse (#1875) 2021-10-14 20:31:05 -07:00
Karthik
b0d27560e9 Fix renderPokemonRow for Dex (#1876) 2021-10-13 19:42:17 -07:00
Kris Johnson
236cb23cc6 Teambuilder: Disable validate button when disconnected (#1874) 2021-10-11 13:34:39 -07:00
Guangcong Luo
5dc7b44240 Fix link to HTTPS site
The old system of defaulting to HTTP because of bugs in HTTPS hasn't
been necessary in a very long time; we even switched to always-HTTPS
a few years ago.

Fixes https://github.com/smogon/pokemon-showdown/issues/8466
2021-10-10 00:44:32 -04:00
Guangcong Luo
d334977d8b Update to PHP 5 constructors
We had an old constructor in a library that was preventing an upgrade
to PHP 8.
2021-10-10 00:44:32 -04:00
Karthik
1fae99d6bc Teambuilder: Don't show Gmax options for Gmax formes (#1873) 2021-10-09 19:10:27 -07:00
Karthik
e1e254e871 Teambuilder: Show Ferroseed as legal in Gen 8 LC (#1872) 2021-10-09 19:06:40 -07:00