Daniel James
dce6c5ef72
More descriptive function name.
2016-07-21 16:05:35 +01:00
Daniel James
24d2df3697
Only set last_modified when really modified.
...
Was setting it in the parser, so it would be set on refereshes as well
as when the file was modified.
2016-07-21 16:05:34 +01:00
Daniel James
6892abb9fd
Rework last_modified and pub_date.
...
- Both are now stored as strings.
- Unpublished articles have a null pub_date.
- last_modified is now always the last modified date,
before it was the pub_date once published.
2016-07-21 16:05:34 +01:00
Daniel James
6a871d2985
Remove TODO note that has already been done.
2016-07-05 09:43:01 +01:00
Daniel James
e40e79ee12
Stop putting pubDate=In Progress in dev RSS feed.
...
Should probably stop setting pubDate to 'In Progress', it's an artifact
of how the site used to work.
2016-07-05 08:49:23 +01:00
Daniel James
d404463956
TODO notes where might want to use hidden libraries.
...
Currently just pretend they don't exist.
2016-07-04 23:31:35 +01:00
Daniel James
23e0d6c01e
Add support for status=hidden.
2016-07-04 23:14:29 +01:00
Daniel James
aafca815c0
Remove transitional code.
2016-07-04 22:45:50 +01:00
Daniel James
2679edc6fa
Script to change 'module' to 'library_path' in metadata.
2016-07-04 22:45:49 +01:00
Daniel James
c97dd3c96c
Allow update_finish to be called without a version parameter.
2016-07-04 22:45:49 +01:00
Daniel James
25d3e1f099
Fix some issues prevents recursion in submodules.
...
Now get_modules works if there are no submodules, and stop throwing
exceptions for unusal submodule urls, since odeint has an external
documentation submodule.
2016-07-04 22:45:49 +01:00
Daniel James
0cfef1fceb
Store library path in metadata, instead of module.
...
This allowed me to simplify some of update-doc-list as there's no longer
any need to work out the module for a library. This might break
update-doc-list in places. Will work on that next.
2016-07-04 22:45:49 +01:00
Daniel James
941ab8267c
Allow empty array in metadata file.
2016-06-22 08:37:44 +01:00
Daniel James
6ffad99173
Use standard config location for all domains.
...
Although for unrecognised domains, only use it when the local config
file isn't present.
2016-06-04 16:54:02 +01:00
Daniel James
9c8ab72da9
Remove unused parameter from unzip_error.
2016-06-04 15:44:17 +01:00
Daniel James
1b4356105a
Read in webhooks and pass on to 'boost-tasks' to handle.
2016-06-04 14:43:39 +01:00
Daniel James
6f2851c5e8
Forbid access to code directory (apart from info.php).
...
Nothing really problematic, but might as well.
2016-06-02 09:11:48 +01:00
Daniel James
75000f5de7
Move tests into subdirectory.
...
To avoid running all the vendor tests on Travis.
2016-06-02 09:04:44 +01:00
Daniel James
f9034e55a7
Remove dependencies on DOMDocument.
2016-06-02 09:04:44 +01:00
Daniel James
25a884c58c
Include release_data in hash.
2016-06-02 09:04:44 +01:00
Daniel James
f730bb37e1
Use release data.
2016-05-29 19:50:18 +01:00
Daniel James
17dbdf21c0
Add release_data to pages.
2016-05-29 19:50:18 +01:00
Daniel James
4f28b5bfdd
Read libraries.htm template from repo.
2016-05-29 19:49:58 +01:00
Daniel James
ecb33fc721
Update the config setup to reflect current server.
2016-05-29 19:49:57 +01:00
Daniel James
779c8de658
Remove old download script.
2016-05-29 19:49:57 +01:00
Daniel James
f4477c80ab
Merge remote-tracking branch 'origin/master' into fixes
2016-05-27 09:33:04 +01:00
Daniel James
3fd7bec5ff
PHP 5.3 fix
2016-05-27 09:23:35 +01:00
Daniel James
ee73bbdd2b
Remove last remanants of flag system.
...
Now just using release_status, which can only be 'released',
'beta','dev'.
2016-05-26 00:12:07 +01:00
Daniel James
f160d6cc55
Autoload URL handling.
2016-05-26 00:12:07 +01:00
Daniel James
779b3a13da
Suppress log entry for invalid UTF-8.
2016-05-26 00:12:07 +01:00
Daniel James
71572b448b
Fix title of directory listing
2016-05-26 00:12:07 +01:00
Daniel James
b2d368cbe9
Check that path exists earlier.
...
To avoid warning when getting the last_modified date.
2016-05-25 14:41:38 +01:00
Daniel James
3f7ba6f770
Fix regression documentation.
2016-05-25 14:41:07 +01:00
Daniel James
dfd1358f68
Make sure every category has a library array.
2016-05-25 14:41:06 +01:00
Daniel James
6156e13636
Merge remote-tracking branch 'origin/feature/more-mustache-support'
2016-05-22 23:25:19 +01:00
Daniel James
c6b8722361
Add signature + windows downloads.
2016-05-19 23:30:56 +01:00
Daniel James
18904dd490
Wonky path/file handling for partials.
...
The ruby version resolves partial paths to the current working
directory, this resolves them to the path of the current file. I can't
see it specified anywhere and this seems like better behaviour to me.
2016-05-19 23:19:08 +01:00
Daniel James
32c9ac5114
Make 'render' return a string.
2016-05-19 23:18:34 +01:00
Daniel James
73ccea8a16
Preset tokenizer regexp.
2016-05-18 18:54:31 +01:00
Daniel James
ddbe2d277e
Reindent interpret.
2016-05-18 18:54:31 +01:00
Daniel James
2059fc7c22
Convenience function for checking regexp matches.
2016-05-18 18:54:19 +01:00
Daniel James
e1f29e7df7
Hopefully better node representation.
2016-05-18 18:54:19 +01:00
Daniel James
831fc57a2e
Partials. Just from an array for now.
2016-05-18 18:54:19 +01:00
Daniel James
e8922d0698
Move parameters into a class, implementing proper lookup.
2016-05-18 18:54:18 +01:00
Daniel James
3bbbb5d883
Remove pointless array member.
2016-05-18 18:54:18 +01:00
Daniel James
569bc80157
Stop version check overwriting page version.
2016-05-18 08:58:41 +01:00
Daniel James
59bbb4cb3d
Small clean-up. Mainly renaming variables.
2016-05-17 09:10:10 +01:00
Daniel James
7ea257f921
Single stack.
2016-05-17 09:10:10 +01:00
Daniel James
d26b41a12e
Update comment.
2016-05-17 09:10:10 +01:00
Daniel James
5d71cde30c
Support delimiters.
2016-05-17 09:10:10 +01:00