Commit graph

28 commits

Author SHA1 Message Date
Shish
845c8b3d85 [core] Make User::by_name / User::by_id not-null
Nearly everywhere that these functions are called, the result is assumed to be not-null, and a null will break things
2024-08-31 20:39:36 +01:00
discomrade
ba2bad48a6 [user] fix typo in password check 2024-05-04 15:01:33 +01:00
Shish
7ee4152942 [core] organise exceptions a bit 2024-02-11 16:03:23 +00:00
Shish
8c22cb1fb6 [core] exact and named page args 2024-02-11 11:34:17 +00:00
Shish
cc9de6b4b2 [core] merge method-check and permission-check into page_matches() 2024-02-10 23:03:14 +00:00
Shish
434455b836 [tests] more voiding of tests 2024-01-15 14:31:51 +00:00
Shish
94ee6e4bc3 [user] admins are exempt from the email requirement, fixes #996 2024-01-07 17:33:39 +00:00
Shish
e51c6bed20 show a table of user classes, see #921 2023-06-24 12:10:28 +00:00
Shish
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
Shish
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
Matthew Barbour
bb891f3bd0 Updated user page tests 2021-01-16 15:07:17 -06:00
Shish
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
Shish
34b05cca7c PSR-2. I'm not a huge fan, but ugly consistency beats no consistency... 2019-05-28 17:59:38 +01:00
Shish
8c1e3bc92a mark tests as public 2015-09-26 11:17:13 +01:00
Shish
9af5995dcc PHPUnit proof of concept 2015-09-20 20:03:29 +01:00
jgen
1ca3865a1c Removing the closing PHP "?>" tag as per style guidelines. (Also see: https://stackoverflow.com/questions/4410704/why-would-one-omit-the-close-tag ) 2014-04-25 22:54:51 -04:00
Shish
d7d2bf7418 user test updates 2012-03-09 18:15:03 +00:00
Shish
3f759619f3 test the right thing... 2009-10-26 10:49:07 +00:00
Shish
c7a9c4b92c not finished, but add to test coverage 2009-09-20 03:48:24 +01:00
Shish
1946e3c943 consistent naming for test functions 2009-08-19 01:28:48 +01:00
Shish
b1bcb8252f extendable user stats rather than hardcoded with assumptions of extensions 2009-08-18 22:30:52 +01:00
Shish
9aa54af90a fix this test 2009-08-13 19:01:34 +01:00
Shish
572f84511a lots of docs, and some internal changes 2009-07-21 07:38:53 +01:00
Shish
aa7969cdde MOAR TESTING. 2009-07-20 06:51:51 +01:00
Shish
c88ecebb7b A ton of tests, figured out how to test uploads \o/ 2009-07-15 02:43:14 +01:00
Shish
738fa3ef1e whitespace... 2009-01-04 11:38:47 -08:00
shish
98f6800f9d configurable testing URL
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1096 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-18 10:34:15 +00:00
shish
c68df68195 test files for various extensions
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1070 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-11 07:09:42 +00:00