Commit graph

1387 commits

Author SHA1 Message Date
fr33domlover
d8d2d160a0 Render ticket description as Markdown
At the beginning the rendering was invalid because it parsed the entire
content as a single line. For some reason, when I read the ticket
description from the DB, all newlines are returned as CRLF. I don't know
why yet or whether it can or should be changed, but as a quick fix, I
made the handler function filter out the CRs from the text. Then the
rendering is correct.

This matches the documentation of Pandoc, which mentions the readers
assume newlines are encoded as LF.
2016-05-02 21:20:25 +00:00
fr33domlover
072928dab1 Remove titles from all pages, the breadcrumb already shows them 2016-05-02 14:30:15 +00:00
fr33domlover
13d814034c Breadcrumbs widget in default layout 2016-05-02 14:16:51 +00:00
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
bc17dc78dd Link from project page to its tickets 2016-05-01 11:05:20 +00:00
fr33domlover
bace4c1a84 Link from person page to their repos page 2016-05-01 10:22:04 +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
77fd8333c6 Build with dev flag by default during development 2016-04-19 09:41:27 +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
98bbc773cf Update feature status list in readme 2016-04-18 18:57:34 +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
b6b493d3ef No trailing zero components in version number 2016-04-12 15:19:02 +00:00
fr33domlover
69b2dafc32 Define some initial highlight colors 2016-04-12 14:44:43 +00:00