Elias Bomberger
8ed6dd15bf
Make recent-changes feeds able to look farther back for revisions.
...
Before, grouped feeds would only use the last 30 revisions.
If part of a group was outside these revisions, it would be handled incorrectly.
Now, grouped feeds contain the last 30 groups, and use as many revisions as needed for this.
2021-10-26 22:45:38 -04:00
Elias Bomberger
6cb4161dd8
Make trivial improvements to the new recent-changes feed
...
Add wiki name and remove author from feed metadata
Hyphenate order settings
Change default order from new-to-old to old-to-new
Only group edits from the same author
Add author to feed item titles
2021-10-26 18:50:01 -04:00
Elias Bomberger
114e18bcbd
add feed grouping ( #61 )
2021-10-25 20:58:25 -04:00
Elias Bomberger
924b011e06
reorganize the history package (and rewrite some parts with qtpl)
...
start work on grouping edits in feeds
2021-10-22 22:15:48 -04:00
Mikhail Chekan
85c936d94a
Housekeeping with linter
...
'I do as the golint guides'
2021-10-02 01:14:26 +08:00
handlerug
bc284be7e6
Don't log git repo existence check to the console
2021-06-23 22:02:13 +07:00
handlerug
919f844468
Automatically init Git repo if not already
2021-06-23 21:01:34 +07:00
handlerug
7b2423ec40
New structure
2021-06-23 21:01:34 +07:00
handlerug
2f7ea74866
Revert "Rename WikiDir to WikiGitDir"
...
This reverts commit 839b1e2448932766f58a4629593205a4fd6d8912.
2021-06-16 19:29:01 +07:00
Timur Ismagilov
839b1e2448
Rename WikiDir to WikiGitDir
...
Rhymes well with the forecoming Structure.
2021-06-15 01:30:17 +05:00
handlerug
eefa797097
Replace /page/ with /hypha/ everywhere
2021-06-14 14:20:37 +07:00
handlerug
552aa12b8c
Set Git commiter name via environment
2021-06-06 22:12:07 +07:00
Timur Ismagilov
b4dd2dcfad
Do nothing in particular
2021-05-11 15:14:00 +05:00
Timur Ismagilov
662794dd59
Move config-related stuff to its own module
2021-05-09 14:36:39 +05:00
bouncepaw
4b21489e7c
Print less messages on start
2021-05-03 23:33:14 +05:00
bouncepaw
4ff51352af
Print some diffs in web feeds
2021-05-03 23:31:19 +05:00
bouncepaw
f3c4a45c3d
Add primitive diffs accessible from history pages
2021-03-14 20:01:32 +05:00
bouncepaw
e35643bb9d
Add -print-example-config
2021-03-09 19:27:14 +05:00
bouncepaw
9052f31e1f
Fix the bug with git locking
2021-02-26 21:43:45 +05:00
bouncepaw
4798d94a94
Refactor history views
2021-02-20 21:50:25 +05:00
bouncepaw
8cdea2d7ba
Fix revision contents not showing
2021-02-20 21:17:20 +05:00
bouncepaw
ee02211b3e
Start the Great Refactoring
2021-02-17 23:41:35 +05:00
bouncepaw
84545dd9f1
Rename -user-tree to -user-hypha
2021-01-23 21:37:29 +05:00
bouncepaw
43fbe3c6e2
Ignore edits that do not edit anything
2021-01-21 19:21:34 +05:00
bouncepaw
e5c96eee88
Display proper time on history pages
2021-01-21 18:49:22 +05:00
bouncepaw
0341fa6440
Allow unattaching
2021-01-19 23:08:59 +05:00
bouncepaw
b1f33c872c
Make account system concurrent-safe and refactor it a little
2021-01-10 01:49:48 +05:00
bouncepaw
1d5e2e515c
Fix anon hypha deletion bug and start using hypha.Count()
2021-01-03 02:25:04 +05:00
bouncepaw
8810e9891d
Implement RSS, Atom and JSON feeds and add a new flag
2020-12-08 20:15:32 +05:00
bouncepaw
3d20b3e77a
Make history page easier to use
2020-11-29 22:06:45 +05:00
bouncepaw
26aaabe9e8
Show edit author in recent changes and let anons upload attachments on no-auth wikis
2020-11-18 18:27:18 +05:00
bouncepaw
b30c368c48
Sign edits and refactor mutators a little
2020-11-18 18:07:53 +05:00
bouncepaw
1fbbf81794
Make a better recent changes page
2020-11-04 16:00:17 +05:00
bouncepaw
a18ff06663
Fix the bug with different mime-types of uploaded binary parts
2020-11-02 00:09:41 +05:00
bouncepaw
d6c6ad4ae3
Implement some features of mycomarkup
2020-10-30 18:25:48 +05:00
bouncepaw
9173b54c91
Fix some bugs related to the new file structure
2020-10-25 18:50:14 +05:00
bouncepaw
756c4e8125
Start implementing new wiki file structure
2020-10-22 21:42:48 +05:00
bouncepaw
e418c93291
Limit recent changes properly
2020-10-03 17:59:53 +05:00
bouncepaw
47bc6aa31c
Create directories when renaming hyphae
2020-10-03 17:51:19 +05:00
bouncepaw
2add791ba9
Add renaming support
2020-10-02 20:31:59 +05:00
bouncepaw
3a1d1c2ce2
Support async gitops
2020-09-29 23:13:24 +05:00
bouncepaw
00bc9d4b17
Make hyphae deletable
2020-09-29 20:04:22 +05:00
bouncepaw
4cf5937361
Add recent changes page
2020-09-26 23:19:17 +05:00
bouncepaw
41551fd63b
Migrate to quicktemplates
2020-08-31 22:52:26 +05:00
bouncepaw
aeee451044
Do not depend on go-git anymore, clean history code a little
2020-08-29 22:54:57 +05:00
Timur Ismagilov
28dee1087c
Some changes
2020-08-29 00:10:46 +05:00
Timur Ismagilov
e004f653bd
Make commits using git executable
2020-08-27 21:27:57 +05:00
Timur Ismagilov
813bbcf954
Route /rev/ to see any text part at a specified revision
2020-08-20 22:20:13 +05:00
Timur Ismagilov
60fcbdd30d
WIP history page
2020-08-19 23:54:23 +05:00
Timur Ismagilov
c03f8be5cd
Make commits on text edits, commits on binary edits WIP
2020-08-11 00:58:02 +05:00