fr33domlover
e8befc41ee
Multiplex ticket PUT and DELETE over POST
...
HTML forms support only GET and POST methods. One way to bypass that is
to send the form using JS. But I don't want that. Another is to send a
POST with a hidden form field which specifies the read method. This is
what 'postTicketR' does.
2016-05-02 11:34:11 +00:00
fr33domlover
9f917a7306
Fix typo in message text
2016-05-02 11:33:30 +00:00
fr33domlover
434e1cbc7d
YesodBreadcrumbs instance
2016-05-02 10:03:29 +00:00
fr33domlover
9d3b7b686f
Ticket update form
2016-05-02 09:15:10 +00:00
fr33domlover
88569a08ad
Dummy handlers for ticket editing and deletion
2016-05-02 06:13:57 +00:00
fr33domlover
349d089019
First ticket number should be 1, not 0
2016-05-01 11:05:56 +00:00
fr33domlover
4f6ccf8f4a
New ticket creation via POST
2016-05-01 10:15:38 +00:00
fr33domlover
7a4b211617
Ticket view page
2016-05-01 09:58:55 +00:00
fr33domlover
eaadbc050c
Ticket list page
2016-04-30 23:02:44 +00:00
fr33domlover
09b767a037
New ticket post form
2016-04-30 22:32:22 +00:00
fr33domlover
db06aeff0e
New ticket form
2016-04-30 21:26:54 +00:00
fr33domlover
5f909bd3b3
Add Ticket to persistent model
2016-04-30 20:40:33 +00:00
fr33domlover
dbf0c5a2cb
Remove IRC channel and ML data from DB
2016-04-30 20:15:48 +00:00
fr33domlover
36b5ae983e
Don't use git Util module from git-graph, it's been removed
2016-04-30 20:14:56 +00:00
fr33domlover
f7a9fb6ac8
Support git-push over SSH using the git binary
2016-04-30 16:23:34 +00:00
fr33domlover
4065143d8f
Remove upload-pack over HTTP, 'hit' opens too many file descriptors
2016-04-29 18:08:05 +00:00
fr33domlover
144918cd9f
Send raw pack as git-upload-pack-result
2016-04-29 04:32:32 +00:00
fr33domlover
66bc49df15
Git upload-pack request handler, parses it but returns nothing
2016-04-26 05:58:05 +00:00
fr33domlover
4381213446
Binary request body decoder
2016-04-24 18:48:07 +00:00
fr33domlover
e72284e182
Incremental binary stream decoder, generalized from hit-network
2016-04-24 18:25:30 +00:00
fr33domlover
de730cf573
Adapt to module rename in hit-network
2016-04-23 21:09:24 +00:00
fr33domlover
bf355de715
Dummy git upload-pack request POST handler
2016-04-23 18:33:41 +00:00
fr33domlover
19471d4ca2
Smart HTTP ref discovery
2016-04-22 19:46:46 +00:00
fr33domlover
8856bd2344
Git over HTTP: Add initial always-denying ref discovery handler
2016-04-21 00:32:22 +00:00
fr33domlover
4c3371beda
Add settings option to disable registration
2016-04-19 16:03:27 +00:00
fr33domlover
5ae09c2ad7
Remove copyright field from settings, copyright is wrong!
2016-04-19 15:47:26 +00:00
fr33domlover
242e04a3ce
Use --| instead of --^ in AppSettings doc comments
2016-04-19 15:42:54 +00:00
fr33domlover
6e29f246bd
Enable git-fetch using the git executable
2016-04-19 14:56:02 +00:00
fr33domlover
09775e02ae
Parse the git-uploac-pack SSH command properly
2016-04-19 09:42:02 +00:00
fr33domlover
3439870ad5
Adapt to my latest changes to 'ssh' repo
2016-04-19 08:17:52 +00:00
fr33domlover
1b16e2e566
Use some type alises from Database.Persist.Sql
2016-04-19 06:58:48 +00:00
fr33domlover
aa024a3ee4
Build with LTS-5.13
2016-04-19 06:38:52 +00:00
fr33domlover
a0945bfd87
Use Pandoc for document rendering, for now just Markdown
2016-04-17 17:55:23 +00:00
fr33domlover
25bb1e5b83
Split readme detection to separate function
2016-04-14 00:15:27 +00:00
fr33domlover
35354a18a7
Detect README based on file basename
2016-04-14 00:01:56 +00:00
fr33domlover
85319ddfdc
Render README below repo tree view when present
2016-04-13 16:17:34 +00:00
fr33domlover
b42d9db432
Split source file rendering into separate module
2016-04-13 06:55:39 +00:00
fr33domlover
2323ec3fc0
Repo page is root repo source page, remove duplication
2016-04-12 23:38:21 +00:00
fr33domlover
d37108fa6f
Add breadcrumb to repo tree content view
2016-04-12 23:10:46 +00:00
fr33domlover
979156b8ae
Make the homepage repo table a bit more friendly
2016-04-12 23:09:52 +00:00
fr33domlover
ea71f30d96
Repos right under users, not under projects
2016-04-12 17:37:31 +00:00
fr33domlover
69b2dafc32
Define some initial highlight colors
2016-04-12 14:44:43 +00:00
fr33domlover
05f537d288
Syntax highlighting suppport, but no colors in CSS yet
2016-04-12 11:21:14 +00:00
fr33domlover
3325a9d960
Display any file and dir in the repo, not just top level
2016-04-12 10:06:21 +00:00
fr33domlover
100ba7511c
RepoSourceR, display file tree for given branch or tag
2016-04-12 00:19:04 +00:00
fr33domlover
b312d41ef0
Move project templates to new templates/project dir
2016-04-11 22:46:09 +00:00
fr33domlover
7eb3c0ac9e
Remove old Git related code /again/... I have ghost files here
2016-04-11 22:37:47 +00:00
fr33domlover
eadce14e42
Move key templates to new templates/key dir
2016-04-11 22:31:03 +00:00
fr33domlover
9e9e7fc803
Display repo files in repo page instead of history log
2016-04-11 22:13:32 +00:00
fr33domlover
fa4e4294b1
Add repo commits route
2016-04-11 21:35:26 +00:00
fr33domlover
60175d5634
Move repo related templates to new templates/repo dir
2016-04-11 21:24:10 +00:00
fr33domlover
b68428d9b6
Remove some old code and adapt to hit-graph
2016-04-09 15:45:00 +00:00
fr33domlover
50198a1906
Move git protocol code away to separate package
2016-04-08 21:10:33 +00:00
fr33domlover
372368f0a0
Git: Implement pack protocol negotiation upload-haves and ack
2016-04-01 10:37:49 +00:00
fr33domlover
7b9f6e9714
Work on git pack protocol, not done yet
...
This is a lot of code, better save now than sorry later when something
gets deleted by mistake.
Either way, the code will move later - once tested and organized
properly - into its own package.
2016-04-01 05:00:02 +00:00
fr33domlover
f7025f9c15
Instead of print
ing SSH messages, logDebug
them
2016-03-09 22:38:28 +00:00
fr33domlover
fc4690324c
Implement logging for SSH using monad-logger and fast-logger
2016-03-09 22:27:25 +00:00
fr33domlover
20fb5181cd
Decode SSH key content field value from base64
2016-03-08 03:38:32 +00:00
fr33domlover
4a6853e7e7
Add SSH key upload form
2016-03-08 02:52:46 +00:00
fr33domlover
78213db2fc
Add UI for display of SSH keys
2016-03-07 00:42:06 +00:00
fr33domlover
af86469848
Use 'toHtml' instead of generic markup combinator 'text'
2016-03-07 00:39:07 +00:00
fr33domlover
8cf0f2502c
Implement DB-based SSH authentication
2016-03-06 11:58:48 +00:00
fr33domlover
062fb5539a
Add app settings for SSH server
2016-03-05 03:56:25 +00:00
fr33domlover
9afd341aca
Replace some Esqueleto with much simpler Persistent queries
2016-03-03 08:35:29 +00:00
fr33domlover
b20c672a01
Implement git history log in repo page
2016-03-03 08:15:54 +00:00
fr33domlover
100d2948cb
Add Vervis.Path module with repo path utils
2016-03-01 22:43:31 +00:00
fr33domlover
e5ad0279b1
Remove some unused imports
2016-03-01 22:16:41 +00:00
fr33domlover
4b0c444bcb
Implement topsort for commits and apply to graph
2016-03-01 22:16:01 +00:00
fr33domlover
7a76703d25
Implement loading a commit graph
2016-02-29 21:42:37 +00:00
fr33domlover
4882ddb092
Make it possible to skip subtrees in the commit loading loop
2016-02-29 14:25:14 +00:00
fr33domlover
0c8d5c973c
Implement low-level commit graph loading
2016-02-29 14:04:56 +00:00
fr33domlover
40b4f4e475
Stop using classy-prelude-yesod
2016-02-29 14:04:23 +00:00
fr33domlover
ec9fc486ee
Implement flexible Kahn topsort for use on git commit graphs
2016-02-29 01:59:33 +00:00
fr33domlover
1fe41edabe
Fix homepage repo table: Failed for empty repos
2016-02-28 08:30:25 +00:00
fr33domlover
ec4c7de582
Add repo pages and repo creation form
2016-02-27 05:41:36 +00:00
fr33domlover
9b686c6db0
Write initial overview content and add project creation form
2016-02-25 03:10:30 +00:00
fr33domlover
004fdb118e
Put all modules under a new Vervis module
2016-02-23 08:45:03 +00:00
fr33domlover
9154ad8f8b
Move some utils to new modules
2016-02-23 08:28:25 +00:00
fr33domlover
b95bf9e42b
Create personal overview page, still blank
2016-02-23 03:19:55 +00:00
fr33domlover
1c044520b5
Implement registration and make it build
2016-02-23 02:27:01 +00:00
fr33domlover
c0a86c3f5b
Add user registration form view, still no-op
2016-02-19 04:10:42 +00:00
fr33domlover
ee7a353904
Define color palette and write initial Cassius
2016-02-18 22:33:27 +00:00
fr33domlover
ab98930caa
Add style palette module for later use
2016-02-18 13:36:25 +00:00
fr33domlover
a5f6bf280b
Remove bootstrap3 CSS and fonts
2016-02-18 13:35:38 +00:00
fr33domlover
5287a47372
Add project pages
2016-02-17 21:53:53 +00:00
fr33domlover
a6525d7549
Add people and person pages
2016-02-17 16:43:23 +00:00
fr33domlover
7ede602d1d
Remove CSRF protection for now, until I fix it
2016-02-17 11:49:41 +00:00
fr33domlover
8e3675865d
Add comment bits for SSL and delete some garbage from template
2016-02-17 11:31:01 +00:00
fr33domlover
7857a8a964
Make initial homepage with table and simple login
2016-02-16 11:41:13 +00:00
fr33domlover
3da488b3a2
Remove example code I don't need
2016-02-14 10:17:31 +00:00
fr33domlover
f4dcf17f3f
Move some files around, tweak the generated code a bit
2016-02-14 09:10:21 +00:00
fr33domlover
952f6baafd
Bring Yesod scaffolding
2016-02-13 03:35:30 +00:00
fr33domlover
0bfef83458
Remove obsolete code and start using stack
2016-02-12 11:01:53 +00:00
fr33domlover
1abfc11ffa
Make minimal Yesod app that returns main view as an HTML table
2016-02-12 01:53:19 +00:00
fr33domlover
73acda0ecf
Don't separate people and groups in the dir tree
2016-02-12 00:23:24 +00:00
fr33domlover
1b7e6e5a73
Use the git code to add last change time to main view query
2016-02-12 00:01:41 +00:00
fr33domlover
229bdead0e
Insert dummy data to see results
2016-02-11 22:19:31 +00:00
fr33domlover
552b17e219
Write initial main view query with Esqueleto
2016-02-11 20:58:40 +00:00
fr33domlover
5734e720ad
Update data model to reflect recent decisions
2016-02-11 09:36:24 +00:00
fr33domlover
2b15a16115
Add comments to git functions
2016-02-11 09:36:09 +00:00
fr33domlover
d2e78b4c51
Define data model using persistent's TH
2016-02-09 21:07:01 +00:00
fr33domlover
b7aa7ec45d
Make it build with persistent
2016-02-06 13:36:35 +00:00
fr33domlover
e6fbca1c2a
Split code into submodules
2016-02-06 13:08:35 +00:00
fr33domlover
547db845be
Fix typo which caused infinite loop
2016-02-05 23:41:55 +00:00
fr33domlover
aa351c00d2
First operation: createUser
2016-02-02 13:06:49 +00:00
fr33domlover
6440550f48
Support loading and saving to JSON, step 5
2016-02-02 12:31:36 +00:00
fr33domlover
c8e5de868c
Ugly, hacky, dirty, full-of-warnings basic JSON persistence
2016-02-02 12:14:21 +00:00
fr33domlover
b44dc7b456
Fix projects field type
2016-02-01 14:28:12 +00:00
fr33domlover
81f8dba101
Add state and env to the monad, completing step 4
2016-02-01 14:17:28 +00:00
fr33domlover
56dddddde6
Define Vervis monad as a newtype over RWST
2016-01-31 05:58:50 +00:00
fr33domlover
a953923a3e
Add a basic data model and determine change times from it
2016-01-29 09:39:35 +00:00
fr33domlover
f51aa09159
Return formatted last change time for a repo
2016-01-29 00:59:27 +00:00
fr33domlover
ccdd98ca7e
Return a list of subdirs of a given dir
2016-01-28 15:37:04 +00:00
fr33domlover
abbef763e7
Initial record with empty package that builds
2016-01-28 14:15:54 +00:00