Chase Sterling
15924df4e2
Do date formatting for history view server side for consistency.
2016-07-09 20:10:46 -04:00
Chase Sterling
bc0876cf33
Add gravatars back to history view
2016-07-09 20:02:53 -04:00
Chase Sterling
8a81bb121c
Fix history cache clearing when page modified
2016-07-09 19:51:56 -04:00
Chase Sterling
fcb23466dd
Merge branch 'master' into history_optimization
2016-07-09 19:33:56 -04:00
Chase Sterling
fb54710709
Show a loading message before first page of history is loaded.
2016-07-09 19:22:28 -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
497f743976
Initialize js date directly
2016-07-09 16:08:34 -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
cb8c6fdaba
Redirect back to current page when login button is clicked
2016-07-09 00:47:46 -04:00
Chase Sterling
aa0a8a2aa8
Store next url redirect for in session to work with oauth login callbacks
2016-07-08 23:39:11 -04:00
Chase Sterling
eafff2ae43
Cause an error when trying to hook invalid HookMixin method
2016-07-08 21:30:20 -04:00
Chase Sterling
3d14412604
Ensure git repo remains valid with unicode committer names. fix #152
2016-07-08 18:57:14 -04:00
Chase Sterling
1bc15594f6
Allow WikiPage methods to be hooked
2016-07-08 13:53:09 -04:00
Chase Sterling
ed0ac58e6f
Update search module hooks to use new WikiPage methods
2016-07-08 02:11:57 -04:00
Chase Sterling
c0a4e6b480
Pass self to HookMixin hooks
2016-07-08 02:10:26 -04:00
Chase Sterling
3c3d39c771
Fix clearing cache on page edits with new WikiPage refactor
2016-07-07 20:05:11 -04:00
Chase Sterling
6e10d56479
Only add 'auth.local' to MODULES when AUTH_LOCAL_ENABLED is True
2016-07-07 19:42:23 -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
35471d3c3f
Don't add a separate class to iterate history
2016-07-07 18:07:09 -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
fefbfcd503
Make temp dir handling in tests a bit more pythonic
...
(and let them work on Windows)
2016-07-05 20:29:36 -04:00
Chase Sterling
2e6db650f2
Fix the __nonzero__ method for WikiPage
2016-07-05 20:29:01 -04:00
Chase Sterling
7a20135d55
Fix a mistake added to one of the wiki tests
2016-07-05 20:25:07 -04:00
Chase Sterling
d50cf54072
Create WikiPage class to encapsulate wiki page functions
2016-07-04 22:22:12 -04:00
Matthew Scragg
ac79d186ec
version: 0.8.0
2016-06-24 16:53:10 -05:00
Matthew Scragg
701cadcb46
Merge pull request #139 from nakato/DBURI
...
Use properties in config for pass-through compat vars
2016-06-24 16:38:53 -05:00
Sachi King
695dba98f9
Use properties in config for pass-through compat vars
...
Strings are immutable, so when one variable changes the other will not,
as such there is variance on config load between variables that should
be the the value of another variable.
To solve that I've moved the config into a class and made those values
read-only properties to the loaded values.
Closes : #137 #138
2016-06-05 22:03:49 +10: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
63bbc30e9e
version: 0.7.0
2016-05-17 09:56:06 -05:00
Matthew Scragg
5735c1deb5
deps: update all bower deps adjust style to new boostrap defaults
2016-04-24 19:23:41 -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
Matthew Scragg
82b90adf2d
fix bug in simple search
2016-02-26 17:07:57 -06:00
Matthew Scragg
bca09fa8ba
Merge pull request #111 from kseistrup/master
...
Make datetimes customizable
2016-02-03 08:17:13 -06:00
Lars Immisch
d048196286
Fix relative link
2016-01-31 18:06:34 +01:00
Lars Immisch
cfe419e5b5
Fix presumed typo
...
I assume a trailing slash should be removed
2016-01-31 17:36:53 +01:00
Lars Immisch
198a0d01e5
Fix LDAP login
2016-01-31 01:10:08 +01:00
Klaus Alexander Seistrup
706d6ccba5
Merge remote-tracking branch 'upstream/master'
2016-01-30 12:15:22 +01:00
Matthew Scragg
6374370871
FIx critical bug on start_server
2016-01-24 10:07:05 -06:00
Klaus Alexander Seistrup
80675b904e
Merge remote-tracking branch 'upstream/master'
2016-01-23 23:13:55 +01:00
Matthew Scragg
a87ee06f65
Allow override of bound host address. Fixes #110 .
2016-01-23 16:04:56 -06:00
Klaus Alexander Seistrup
3d1a130584
Make datetime
customizable across templates
2016-01-23 12:52:15 +01:00
Chase Sterling
98c3839168
Add clear_cache cli command. fix #98
2015-12-20 13:38:53 -05:00
Matthew Scragg
9643f79de3
Merge pull request #96 from gazpachoking/config_fix
...
Allow all config options to be specified in realms-wiki.json
2015-12-18 09:38:37 -06:00
Chase Sterling
24fbb6597d
Add avatars to history view.
2015-12-16 00:30:33 -05:00
Chase Sterling
c2cc26e086
Switch to generic avatar class styling
2015-12-16 00:29:55 -05:00
Chase Sterling
c6f4ccd10b
Add author_email to Wiki.get_history results
2015-12-16 00:28:23 -05:00
Chase Sterling
20810138da
Allow all config options to be specified in realms-wiki.json
2015-12-15 22:46:55 -05:00
Chase Sterling
7924be10cd
Add an icon and sort column for pages/dirs in the index
2015-12-13 12:59:04 -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
853630646e
Merge pull request #89 from gazpachoking/fix_index
...
Fix rebuild_index to use full path of page when indexing.
2015-12-11 10:15:08 -06:00
Chase Sterling
d07c3e4bcf
Enable caching of wiki pages
2015-12-11 01:56:27 -05:00
Chase Sterling
af6a577b15
Fix rebuild_index to use full path of page when indexing. fix #88
2015-12-11 00:25:43 -05:00
Matthew Scragg
e565a0a77a
fix path bugs
2015-12-10 21:51:36 -06:00
Chase Sterling
57067a9f95
Improve SimpleSearch with subdirs
2015-12-10 00:27:43 -05:00
Chase Sterling
6d62d6b8b4
Tweak the rules for to_canonical to better handle subdirs.
2015-12-09 22:03:43 -05:00
Matthew Scragg
93df0e081a
fix some issues with path names
2015-12-09 17:41:15 -06:00
Chase Sterling
9108f82149
Preliminary subdirectory support. refs #50
2015-12-08 21:38:09 -05:00
Matthew Scragg
917cc5b967
0.6.1
2015-12-08 17:21:54 -06:00
Matthew Scragg
d24d8720db
strip leading underscores in cname
2015-12-08 17:16:33 -06:00
Matthew Scragg
e3508e365f
allow utf8 in page names
2015-12-08 17:15:11 -06:00
Matthew Scragg
4b55ea0009
0.6.0
2015-12-06 18:28:57 -06:00
Matthew Scragg
c4b147c3e5
Merge pull request #85 from scragg0x/auth
...
Auth
2015-12-06 18:25:34 -06:00
Matthew Scragg
de8616427e
fix facebook token name
2015-12-06 18:22:13 -06:00
Matthew Scragg
86fd1062fe
fix layout in small view
2015-12-06 17:17:44 -06:00
Matthew Scragg
1fe6ce6f8c
Clean up OAuth buttons
2015-11-22 17:13:59 -06:00
Matthew Scragg
b3c4db0cf9
Change ldap login view
2015-11-22 17:13:29 -06:00
Matthew Scragg
04b5e04593
Dynamically enable modules based on config values
2015-11-22 17:12:26 -06:00
Matthew Scragg
4063754e12
update readme
2015-11-22 11:19:11 -06:00
Matthew Scragg
1e62997272
change github fieldmap
...
define tokengetter for each provider
2015-11-13 17:25:55 -06:00
Matthew Scragg
027abd0658
remove tokengetter callback
2015-11-13 17:04:47 -06:00
Matthew Scragg
c3ac176c15
set token in session before making oauth request
2015-11-13 17:03:58 -06:00
Matthew Scragg
7178a6190e
define tokegetter
2015-11-13 16:55:42 -06:00
Matthew Scragg
6edaec3876
get oauth data from providers
2015-11-12 17:19:26 -06:00
Matthew Scragg
0b1c55f6a5
fallback to default avatar if email is not set
...
auth submodules are registered with initialized
check if auth.local is loaded before accessing registration route
check DB_URI before attempt to create db
2015-11-06 17:44:48 -06:00
Matthew Scragg
e635be8961
oauth field map to include lists to access nested response dicts
...
oauth authorize callback to use absolute url, needed by Facebook
2015-10-26 16:47:32 -05:00
Matthew Scragg
c92cc46db2
add more oauth providers, really authenticate
2015-10-21 17:34:20 -05:00
Matthew Scragg
4375db4f8c
add github support, fix redirect on oauth
2015-10-21 09:09:42 -05:00
Matthew Scragg
4fede50136
enable oauth, set correct default oauth success endpoint
2015-10-20 17:18:43 -05:00
Matthew Scragg
a0124baf1d
oauth work
2015-10-15 17:36:47 -05:00
Matthew Scragg
e9709b6c8f
ldap second pass, working state
2015-10-15 15:55:38 -05:00
Matthew Scragg
838eb3cb06
2nd pass on oauth, making more generic
2015-10-14 23:08:56 -05:00
Matthew Scragg
2eaf09dc78
ldap first pass
2015-10-14 17:36:22 -05:00
Matthew Scragg
3c2f4a0445
first pass, non-working
2015-10-13 22:52:30 -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
Alvin Chow
4ef08cc988
Add delete wiki page feature, delete wiki page after rename
2015-09-28 00:04:21 -07:00
Alvin Chow
fdf482d14b
Fix bug with rename feature to also delete old page
2015-09-27 16:20:54 -07:00
Alvin Chow
1cf9295c78
Don't die if some non-MD files are found in the wiki repo during rebuild_index()
2015-09-25 16:35:16 -07:00
Lars Immisch
644929c4c8
Subtle bug in parameter handling
...
The parameter names must not be converted to upper case before calling
context.invoke, because that works with the lowercase names.
Before this bugfix,, we had kw like this in the various setup_* functions:
{'DB_URI': 'sqlite:////tmp/wiki.db', 'db_uri': 'sqlite:////real/path.db'}
and whichever won was pretty much random (dict sort order)
2015-09-24 21:49:18 +02:00
Lars Immisch
9d340e0da1
Work around a bug in click
...
Closes https://github.com/scragg0x/realms-wiki/issues/76
2015-09-22 16:37:39 +02:00
Lars Immisch
a8e4ec69bf
Fix gravatar URL and one possible redirect loop
2015-09-22 13:33:26 +02:00