Shish
977c3db1e3
PHP7 type annotations
2017-09-21 05:21:42 +01:00
Shish
8c1e3bc92a
mark tests as public
2015-09-26 11:17:13 +01:00
Shish
c54e336695
mark tests as incomplete rather than commenting them out
2015-09-24 23:16:38 +01:00
Shish
9af5995dcc
PHPUnit proof of concept
2015-09-20 20:03:29 +01:00
Daku
8c2d8df81d
use html5 input types
...
we would use type='url' for source but non-urls can be used as source too
2015-04-18 10:39:34 +01:00
Daku
845543b2ba
fixes #478 - import now uses AddAliasEvent rather than manually adding itself
2015-04-18 10:39:09 +01:00
Daku
6289402f2e
make sure aliases.csv is downloaded, and not opened in browser
...
SEE: http://stackoverflow.com/questions/6468517
2015-04-18 10:38:57 +01:00
Shish
52dc36cfa6
str_getcsv rather than explode, for handling quotes
2015-01-30 03:53:58 +00:00
jgen
8fd532e5a8
More linting and removing dead code.
2014-04-28 02:43:49 -04: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
jgen
b241390fa4
Removing the closing PHP "?>" tag as per style guidelines.
2014-04-24 22:34:45 -04:00
Shish
7b68d8ebfd
use new-style constructors everywhere
2014-03-22 09:00:59 +00:00
Shish
da29912646
tidy up a bunch of lint errors
2014-03-17 22:05:37 +00:00
jgen
3d1217a1be
Trim trailing blank space.
2014-02-22 15:36:52 -05:00
jgen
96358f0bc0
Nevermind, it doesn't work.
2014-02-22 15:33:55 -05:00
jgen
2d0edde2b2
We can check that admin users see the "Add" button though.
2014-02-22 15:25:25 -05:00
jgen
d6f0213a9f
Commenting out the alias tests due to consistent failing on TravisCI.
2014-02-22 15:19:06 -05:00
jgen
6efe56eddf
Well, lets try this.
2014-02-22 03:10:59 -05:00
jgen
b229e114c2
Dump all the post data on failure.
2014-02-22 03:06:09 -05:00
jgen
f1aed15f32
die doesn't support commas
2014-02-22 02:59:17 -05:00
jgen
cbfc0580f6
Temporary for debugging.
2014-02-22 02:35:56 -05:00
jgen
ba0aef4f30
The Database class should really throw an error here. This will likely break the existing tests.
2014-02-22 00:40:14 -05:00
jgen
f3c379b8db
Rename the file.
2014-02-19 18:36:38 -05:00
jgen
141be8768f
Better detection of running on the command line.
2014-02-19 18:10:40 -05:00
jgen
5a49bb59e4
Check that regular users can't add aliases.
2014-02-19 17:03:35 -05:00
jgen
1a7cbc9b2a
Check the actual http response code.
2014-02-19 16:40:28 -05:00
jgen
f1a516ef18
Extra debugging when Alias fails.
2014-02-19 16:24:47 -05:00
jgen
bdbb280064
Fixing the alias test cases.
2014-02-19 04:27:29 -05:00
jgen
c05b4719d6
Fix the tests for the Alias extension.
2014-02-17 01:52:30 -05:00
Shish
48e40a6712
trim whitespace when adding aliases
2013-07-06 10:42:25 +01:00
HungryFeline
03b0c82887
Better CSV validation
...
When uploading a CSV, check every entry before executing the INSERT. The checks are the same as with the normal add except that no errors are shown.
2013-07-06 00:33:31 +02:00
HungryFeline
db64370815
Fixing csv upload form
...
The 2nd argument of make_form is the method. Also, I don't see any point in defining the $multipart variable. Just true as argument is enough. C&P mistake?!
2013-07-06 00:12:25 +02:00
Shish
e49e90f9ab
fff, php
2013-03-07 03:23:35 +00:00
Shish
e013d86b56
disallow aliases to other aliases
2013-03-03 18:32:56 +00:00
Shish
239e028662
flash messages everywhere~
2012-06-10 04:21:03 +01:00
Shish
e538181fa1
add alias after finishing the mass tag edit
2012-03-30 16:40:14 +01:00
Shish
cd8ec7bf41
sort alias CSV file the same way as the table
2012-03-25 03:32:32 +01:00
Shish
eb8c15b9a0
whitespace
2012-03-09 22:08:55 +00:00
Shish
a4f2c417ec
CSS3 powarr
2012-02-22 14:27:56 +00:00
Shish
af7704825b
use HTTP status codes with error messages
2012-02-16 15:37:05 +00:00
Shish
519e46578d
more notation for which strings are HTML safe and which aren't
2012-02-13 20:51:34 +00:00
Shish
0698b780f9
remove regular Extension, have SimpleExtension take its place, optimise the event system based on SimpleExtension methods
2012-02-08 12:07:01 +00:00
Shish
0589f9d72e
fine grained permission bits
2012-02-07 15:15:18 +00:00
Shish
dab85e5f26
merge type hints
2012-02-02 14:16:14 +00:00
Shish
cc8f1f35a5
more type hints
2012-02-02 14:14:33 +00:00
Shish
75b9bc2650
typo in merged code
2012-01-31 14:46:19 +00:00
Shish
6f22207603
merge pdo fixes
2012-01-31 13:55:12 +00:00
green-ponies (jgen)
6c3e91e01c
changed script tags to include language
2011-08-12 21:40:51 -04:00
Josh Sutinen
c89eb46800
alias_editor: More PDO compatibility
2011-02-22 17:35:07 -05:00
Shish
ee3c24117b
more pdo compat, database bits
2011-01-03 15:18:24 +00:00