Matthew Barbour
984c9702ec
The great MIMEing
2020-06-25 00:42:34 +01:00
Matthew Barbour
63b2601e67
Mime type handling overhaul
...
Changed mime type map to deal with the reality that certain file types have multiple extensions and/or multiple mime types, as well as constants supporting all of the data. Created new functions using the updated mime type map to resolve mime types and extensions. Updated various items around the project that determine mime/extension to take advantage of the new functions.
2020-06-03 19:47:40 +01:00
Matthew Barbour
ba599d5d1b
Added count to alias editor import
2020-03-02 15:42:09 +00:00
Shish
f0f3cc7aa0
merge layout stuff into Page class
2020-02-01 18:11:11 +00:00
Shish
6d3ca01424
format
2020-01-29 00:49:26 +00:00
Shish
615da9e9d2
fix all the tests (for sqlite, php7.4, osx, at least)
2020-01-28 21:19:59 +00:00
Shish
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Shish
bafdb1c769
crud update
2019-12-26 16:04:04 +00:00
Shish
7b7febea55
better validation
2019-12-15 16:01:32 +00:00
Shish
d705578f79
formatting
2019-12-15 15:31:44 +00:00
Shish
79e21cec7f
microcrud for aliases
2019-12-01 01:02:18 +00:00
Shish
f79eafc91e
format
2019-11-04 00:42:06 +00:00
Shish
d17e207984
Have get_arg never return null
...
90% of places assume it will never return null, and they will break in
weird ways if it does return null
2019-11-04 00:40:10 +00:00
Shish
b568933f45
remove extension metadata comments (we have metadata objects now)
2019-11-02 20:19:09 +00:00
Shish
a6bb15d859
formatting
2019-09-29 14:30:55 +01:00
Matthew Barbour
de98e86938
ExtensionInfo conversions what have I done
2019-08-07 15:40:01 -05:00
Matthew Barbour
00464d2579
Implemented a nav link generating system so that extension power what shows up in the menus rather than being hard-coded in the themes.
2019-08-05 09:01:20 -05:00
Matthew Barbour
5ceb6f4193
Update main.php
2019-08-01 08:40:15 -05:00
Matthew Barbour
cb1e9c0075
Permissions to constants
2019-08-01 08:07:05 -05:00
Matthew Barbour
826c623538
PageMode constants
2019-06-18 21:04:31 -05: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
5ec3e89884
php7.1 all the things
2019-05-28 17:31:20 +01:00
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