Michael Snoyman
a030ba4afb
LTS bump
2016-05-02 14:16:11 +03:00
Jens Petersen
053c2e0631
add renderNoPackages to handle plural, and append colon
2016-02-19 20:38:15 +09:00
Jens Petersen
60dcfba8de
Handler.Package: fix the empty warning correctly (thanks zudov)
2016-02-17 19:29:41 +09:00
Jens Petersen
6fcb72889f
Handler.Package: hide empty from Import
...
stackage-server/Handler/Package.hs:170:9: Warning:
This binding for ‘empty’ shadows the existing binding
imported from ‘Import’ at Handler/Package.hs:20:1-23
(and originally defined in ‘GHC.Base’)
2016-02-17 17:56:29 +09:00
Konstantin Zudov
912a0175d4
Provide snapshot content as JSON
...
```json
$ http --json http://localhost:4000/lts-5.1
{
"snapshot": {
"ghc": "7.10.3",
"created": "2016-01-30",
"name": "lts-5.1"
},
"packages": [
{
"isCore": false,
"name": "abstract-deque",
"version": "0.3",
"synopsis": "Abstract, parameterized interface to mutable Deques."
},
{
"isCore": false,
"name": "abstract-par",
"version": "0.3.3",
"synopsis": "Type classes generalizing the functionality of the 'monad-par' library."
},
...
]
}
```
2016-02-02 15:50:17 +02:00
Konstantin Zudov
26af5d29ed
Upgrade to lts-5
2016-02-02 05:21:39 +02:00
Taylor Fausak
d2caecd432
Allow customizing entire badge label
...
This fixes #147 .
2016-01-31 22:03:03 -06:00
Konstantin Zudov
ad053dc101
Set Cache-Control header on badges
...
Since github caches external resource we need to indicate that this
badge is supposed to be changing.
https://github.com/github/markup/issues/224
2015-11-16 13:34:59 +02:00
Konstantin Zudov
2decb3516e
Allow change badge's label and style
2015-10-31 04:27:05 +02:00
Michael Snoyman
7cb7870d75
Include package count on snapshot page
2015-10-19 11:33:26 +00:00
Konstantin Zudov
492eaf0444
Change "non available" badge color to lightgray
...
The 'red' badge looks like "Something is wrong or broken", while
the 'lightgray' is pretty neutral.
2015-10-18 17:23:59 +03:00
Konstantin Zudov
b4f2c27017
Provide JSON representation of the diff
2015-10-17 20:29:35 +03:00
Konstantin Zudov
1e1e875bd0
Refactor snapshot diffs
...
- do not leak the HashMap out
- use existing types (Version, PackageName)
2015-10-17 17:20:41 +03:00
Konstantin Zudov
49828b012f
Do not use nightlyBefore/ltsBefore
2015-10-17 17:15:36 +03:00
Konstantin Zudov
b798ac8236
Badges
2015-10-16 17:27:37 +03:00
Konstantin Zudov
c2fb5b1fa5
StackageBranch -> SnapshotBranch
2015-10-16 15:01:40 +03:00
Konstantin Zudov
e4a9880fde
Remove obsolete TODO
2015-10-16 13:03:45 +03:00
Konstantin Zudov
5133a38006
Use StackageBranch in OldLinks
2015-10-16 10:01:31 +03:00
Konstantin Zudov
e66813be9f
Use StackageBranch in Stackage.Database
2015-10-16 09:46:28 +03:00
Konstantin Zudov
62c0789ca6
Use StackageBranch for Feed
2015-10-16 07:14:45 +03:00
Michael Snoyman
b98bcfcf4a
Add missing files
2015-10-15 04:29:50 +00:00
Konstantin Zudov
0e9164e5d6
Query database to get the preceding SnapName
...
That's much better than what I did before
2015-10-13 17:58:03 +03:00
Konstantin Zudov
5d1d97c46d
Reflect the branch in the feed title/description
2015-10-13 14:58:21 +03:00
Konstantin Zudov
5c2e8ecf68
Add /feed/#LtsMajor (e.g /feed/lts-3)
2015-10-13 13:36:37 +03:00
Konstantin Zudov
8c9c916491
Add /feed/lts and /feed/nightly
2015-10-13 13:07:22 +03:00
Michael Snoyman
fcc36a3a81
Show snapshot diff on feed
2015-10-12 14:03:43 +00:00
Michael Snoyman
20d08ffa31
/feed
2015-10-11 14:16:10 +03:00
Konstantin Zudov
a192dcf1d2
Wildcarded unused names
2015-10-11 03:36:23 +03:00
Konstantin Zudov
734e3b60b3
Group snapshot list using <optgroup>
2015-10-11 01:59:01 +03:00
Konstantin Zudov
1ab01273bc
Provide a link to snapshot's changes
2015-10-10 10:58:15 +03:00
Konstantin Zudov
160f2b02f9
Added UI for snapshot diffs
2015-10-10 10:44:06 +03:00
Konstantin Zudov
3fa3df3c4f
Got rid of trivial ghc warnings
2015-10-06 13:03:31 +03:00
Konstantin Zudov
0f74359d79
Do not use deprecated FilePath related functions
2015-10-06 04:40:37 +03:00
Konstantin Zudov
ebbeba08b7
Lay out module listings hierarchically
...
Closes #115
2015-10-04 11:59:39 +03:00
Konstantin Zudov
3f8d0b3916
Highlight code in README files
...
Uses highlightjs
2015-10-03 09:28:05 +03:00
Michael Snoyman
768eaec573
Remove all social features
...
Motivation: these were the last things requiring a database. Once this
is gone, it simplifies deployment dramatically. I'm also not sure that
the social features were really worth keeping.
2015-09-25 17:43:50 +03:00
Michael Snoyman
bb01d34d8c
Avoid duplicate packages on tag page ( fixes #116 )
2015-08-13 21:40:04 +03:00
Michael Snoyman
e663fc4a63
Redirect /download to /install ( closes #99 )
2015-08-13 11:34:05 +03:00
Michael Snoyman
8f20a226fe
Upload snapshots.json to S3 ( commercialhaskell/stack#380 )
2015-06-23 11:01:28 +03:00
Michael Snoyman
cbe72be4ee
Improved wording
...
See:
http://www.reddit.com/r/haskell/comments/3ab7ok/help_installing_packages_with_cabal/
2015-06-19 08:45:24 +03:00
Dan Burton
47506d9ecd
Quick fix to allow old versions of stackage-sandbox to continue working
2015-06-01 16:26:19 -07:00
Michael Snoyman
2feecaa88a
Implement missing Handler.Download functionality
2015-05-20 12:13:24 +03:00
Michael Snoyman
99861cde9d
redirectWithQueryText
2015-05-15 06:33:49 +03:00
Michael Snoyman
54b69cb491
Hoogle database generation
2015-05-14 21:21:42 +03:00
Michael Snoyman
a923a4e5ff
Just need to actually write and run the cron job
2015-05-14 17:35:41 +03:00
Michael Snoyman
7caaf7ba23
Fix warnings in Handler.Home
2015-05-14 17:03:29 +03:00
Michael Snoyman
69d65594a5
Snapshot list
2015-05-14 17:02:05 +03:00
Michael Snoyman
ff6a3c6877
Clean up warnings in Handler.StackageHome
2015-05-14 16:48:21 +03:00
Michael Snoyman
24875df4d2
Remove warnings in Handler.Haddock
2015-05-14 16:47:10 +03:00
Michael Snoyman
1394c82730
Add missing signature
2015-05-14 16:46:13 +03:00