V
96d7401f5f
explictly fail if git can't operate ( #194 )
...
* explictly fail if git can't operate
* Update revision.go
2023-03-12 10:57:14 +03:00
Timur Ismagilov
a61d9c673c
Fix primitive diff not working at all
2023-01-03 00:43:29 +05:00
Timur Ismagilov
b29042a52c
Search: Add go to hypha section
2022-12-09 18:27:47 +03:00
Umar Getagazov
40dbbf5376
Highlight primitive diff additions and deletions
2022-11-15 20:38:03 +03:00
Umar Getagazov
4e6adec81a
Validate the revision hash on /rev{,-text}/ pages
2022-11-14 23:31:22 +03:00
Umar Getagazov
7de805c00f
Inherit environment in gitsh
...
Fixes the bug introduced in 552aa12b8c
.
2022-09-07 12:25:37 +03:00
Timur Ismagilov
6168b4acf1
Recent changes: Fix Russian translation
...
Now it's свежие правки consistently
2022-06-11 12:52:23 +03:00
Timur Ismagilov
fba6ed4141
Recent changes: Move the count selector and feed links to the bottom
...
That's where you need them
2022-06-11 12:43:48 +03:00
Timur Ismagilov
4dd96e445f
Fix /history/ <title>
2022-05-31 13:38:06 +03:00
Timur Ismagilov
9e99e8da11
Fix primitive diffs for deleted hyphae
2022-05-31 13:33:25 +03:00
Timur Ismagilov
a16304b26f
History: Generate correct anchors for headings on history pages
...
This is a prehistoric bug no one cared about
2022-05-18 20:41:58 +03:00
Timur Ismagilov
e922af77c1
History: Fix some issues with the views
2022-05-18 20:40:06 +03:00
Timur Ismagilov
e1f4b7465e
History: Translate /history/
2022-05-18 20:32:53 +03:00
Timur Ismagilov
d9e0fa7f7f
History: Rename the web package
2022-05-18 20:30:42 +03:00
Timur Ismagilov
3e8d1fd161
History: Isolate feeds
2022-05-18 20:28:56 +03:00
Timur Ismagilov
2b8ffc69bd
History: Isolate /history/
2022-05-18 20:27:19 +03:00
Timur Ismagilov
a0cd3bd621
Recent changes: Translate to Russian
...
Now it's свежие правки, like in MediaWiki
2022-05-18 20:11:12 +03:00
Timur Ismagilov
5bc704b404
Viewutil: Introduce CopyEnRuWith
...
Reducing boilerplate as usual
2022-05-18 19:58:24 +03:00
Timur Ismagilov
9a540ba022
Viewutil: Introduce ExecutePage
...
It reduces the number of boilerplate and guesses some stuff for us. Fighting the templates.
2022-05-18 19:46:01 +03:00
Timur Ismagilov
1a98beccb4
History: Isolate recent changes
2022-05-18 19:12:00 +03:00
Timur Ismagilov
fdba598c57
History: Isolate primitive diff
2022-05-18 12:26:33 +03:00
Timur Ismagilov
75ded17a03
Please staticcheck
...
I ignored ST1005: error strings should not be capitalized and some others
2022-04-02 11:09:37 +03:00
Timur Ismagilov
72e0f445fd
Rename attachment to media
2022-02-26 10:33:09 +03:00
Timur Ismagilov
4ab9a88437
Remove some unused stuff
2022-02-20 13:11:29 +03:00
Timur Ismagilov
86d1a00bfc
Implement the rocket link migration algorithm
2022-02-01 15:11:50 +05:00
Timur Ismagilov
8848a994e5
Link hyphae instead of diffs in recent changes
...
Also fix Makefile so it includes config.mk iff it exists
2021-11-01 23:40:59 +05:00
Elias Bomberger
d8c82855ff
Add the "same" option for feeds.
...
Feeds items used to only be grouped if they had the same author.
Now this can be configured to require the same author, message, both, or neither.
2021-10-27 21:11:20 -04:00
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 839b1e2448
.
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