Chase Sterling
07b5371a1a
Fix usage of is_anonymous as a method for new version of flask-login
2016-09-06 00:08:58 -04:00
Chase Sterling
7260c88571
Merge branch 'master' into partials-update
...
Conflicts:
realms/modules/wiki/views.py
2016-09-05 13:30:27 -04:00
stef
2731531768
systematic use of from __future__ import absolute_import
. it eliminates import NAME
confusion with very common names (eg. import ldap
is very ambiguous: can be a ldap module from realms-wiki, a ldap module from flask-ldap-login, or python-ldap
module.
...
also cleant up a bit the import towards PEP8: builtin modules first, then 3rd party python packages, then local packages
2016-09-05 01:29:29 +02:00
Chase Sterling
f34eabd7df
Viewing historical versions of pages now works, and show historical version of partials as well
2016-09-04 16:35:56 -04:00
Chase Sterling
f47af0ecae
Merge branch 'master' into partials-update
2016-09-04 12:31:56 -04:00
Matthew Scragg
a47d7e2471
Merge pull request #161 from gazpachoking/update_flask
...
Update flask versions
2016-09-02 12:56:21 -04:00
Chase Sterling
33aa2b851e
Make modules contain their own static files and templates
2016-08-15 23:06:05 -04:00
Chase Sterling
9a730a947e
Fix scope order when importing partials with metadata.
...
Render error when importing wiki pages that do not exist.
2016-08-09 22:54:41 -04:00
Chase Sterling
55e1ed3a2b
WIP partial improvements
2016-08-09 22:54:39 -04:00
Chase Sterling
3223e9fa65
Merge branch 'master' into no_gittle
...
# Conflicts:
# realms/modules/wiki/models.py
2016-08-09 01:10:01 -04:00
Chase Sterling
36d3fb7215
Fix some deprecation warnings with newer flask version
2016-07-14 17:59:08 -04:00
Chase Sterling
f7bb21dd2b
Start updating flask and flask modules
2016-07-14 00:12:48 -04:00
Chase Sterling
687b0f5ced
Add view button back to history revisions
2016-07-09 20:48:21 -04:00
Chase Sterling
15924df4e2
Do date formatting for history view server side for consistency.
2016-07-09 20:10:46 -04:00
Chase Sterling
9602dd993d
Oops, fix first vs last sha in comparison view
2016-07-09 19:21:57 -04:00
Chase Sterling
631dc03f38
Add a + to indicate all revisions are not loaded in history view
2016-07-09 19:09:15 -04:00
Chase Sterling
184a47185c
Re-implement revision comparison
2016-07-09 18:26:55 -04:00
Chase Sterling
b3f6c311b3
Switch page history view to use jquery datatable
2016-07-09 15:50:07 -04:00
Chase Sterling
1c097a146a
Remove gittle dependency and use dulwich directly
2016-07-09 12:56:26 -04:00
Chase Sterling
0bcfaba807
Remove WikiPage.info refs #148
2016-07-07 18:07:21 -04:00
Chase Sterling
242e317e65
Make the history view pagination prettier.
2016-07-07 18:07:21 -04:00
Chase Sterling
74452fe58f
Add ability for 404 page to show error description.
2016-07-07 02:50:45 -04:00
Chase Sterling
e3ae3a1ccb
Lazy load history view with pagination. refs #149
2016-07-07 02:49:52 -04:00
Chase Sterling
d50cf54072
Create WikiPage class to encapsulate wiki page functions
2016-07-04 22:22:12 -04:00
Matthew Scragg
166728d971
Merge pull request #94 from gazpachoking/flat_index
...
Allow a flat view of index with the 'flat' query parameter
2016-06-04 20:22:00 -05:00
Matthew Scragg
a5a1a031d8
fix: bug when editing pages with dots in name
2016-04-24 18:33:25 -05:00
Matthew Scragg
71de000b2c
Tweak spacing
2016-04-24 18:11:47 -05:00
Chase Sterling
24fbb6597d
Add avatars to history view.
2015-12-16 00:30:33 -05:00
Chase Sterling
9f9401a7f7
Allow a flat view of index with the 'flat' query parameter
2015-12-13 11:52:27 -05:00
Chase Sterling
ca65f81474
Implements a tree view index
2015-12-13 03:59:56 -05:00
Chase Sterling
c70480c917
Support getting indexs of subdirs
2015-12-12 14:56:10 -05:00
Matthew Scragg
e565a0a77a
fix path bugs
2015-12-10 21:51:36 -06:00
Chase Sterling
9108f82149
Preliminary subdirectory support. refs #50
2015-12-08 21:38:09 -05:00
Matthew Scragg
4441cfafd0
Merge pull request #81 from doordash/rename-page-fix
...
Fix bug with rename page to also delete old page
2015-09-30 14:33:37 -05:00
Alvin Chow
b517e7e714
Fix bug where any page update would invoke rename_page()
...
fix
2015-09-29 17:13:45 -07:00
Alvin Chow
4e4cdf6348
Get delete page feature working
2015-09-28 00:06:49 -07:00
cybrwushl93
c9308b25e3
added the ability to make wiki private ( resolves #54 )
2015-07-18 11:02:59 +02:00
Matthew Scragg
6c7095ec5a
updated dockerfile, spacing adjustments
2014-11-17 11:25:26 -06:00
Matthew Scragg
863de00a14
Fix #33 bug, thinking all users are anon
...
Fix bug in vagrantfile
Fix bug in db create/drop
Fix typo in cli
2014-11-11 11:35:09 -06:00
Matthew Scragg
2d6f368ff1
fix #32
2014-10-30 17:59:19 -05:00
Matthew Scragg
bf3b3d3d74
added more tests
...
include img in manifest
disclaimer in root cli script
add blinker to dev tools
version file included in package
cli bug fixes
2014-10-22 15:38:32 -05:00
Matthew Scragg
38e5ef85c0
use application factory, WIP
2014-10-21 16:06:27 -05:00
Matthew Scragg
e6bc4928c9
Fix #24 #21
...
WIP commit. Changed routes to POST/PUT/DELETE on page name endpoint to be more RESTful.
Check wiki dir permissions
Add comments
Add dummy favicon, robots.txt, humans.txt
Remove create.html (wasn't being used)
Fix version command
2014-10-20 17:27:38 -05:00
Matthew Scragg
672856e9af
Add index page resolves #23 and #8
2014-10-09 15:47:12 -05:00
Matthew Scragg
eb12c84e9a
Added RDBMS info
...
Canonical names to forced to lowercase
Made user model compatible to other DBs
CSS adjustments
Basic Firepad support (no presence info)
Cleaned up JS a bit
Added ability to remove draft from localstorage
Added support for drafts on multiple pages
Alert user if page changes, issue #1
2014-10-03 13:49:18 -05:00
Matthew Scragg
d72ecf10f0
firepad + others WIP
2014-10-01 17:14:54 -05:00
Matthew Scragg
ec551ac09d
add sha to dom
2014-09-29 20:33:09 -05:00
Matthew Scragg
2895308667
implements #4 , use env to configure app
2014-09-29 15:22:20 -05:00
Matthew Scragg
2856dc076f
Fixes #17
...
Fix bug with loading token
Updated readme
Remove realms-wiki bash script (redundant)
Updated install.sh
Using setuptools to create cli entry point
Upstart script sets gid and uid
2014-09-18 10:13:33 -05:00
Matthew Scragg
b8531a0347
add config option to disable registration
...
add command to create user
2014-09-13 22:47:17 -05:00