Michael Snoyman
b81ff2a59d
Properly display latest vs current package version #177
2016-05-17 19:44:34 +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
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
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
b798ac8236
Badges
2015-10-16 17:27:37 +03:00
Konstantin Zudov
3fa3df3c4f
Got rid of trivial ghc warnings
2015-10-06 13:03:31 +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
66559c0d9d
Fix warnings in Handler.Package
2015-05-14 16:45:24 +03:00
Michael Snoyman
4564385c73
Docs
2015-05-13 14:55:30 +03:00
Michael Snoyman
d77b87b6c2
Package pages
2015-05-13 14:08:58 +03:00
Michael Snoyman
d956b074c0
Delete a whole bunch of stuff, nothing works
2015-05-11 17:46:07 +03:00
Michael Snoyman
7ac0fd8dbc
Package pages per snapshot
...
This allows us to replace the Haddock-generate contents pages with our
snapshot/package pages.
2014-12-24 08:44:52 +02:00
Dan Burton
b06424463e
Add deprecation info to stackage ( #42 )
2014-12-21 13:48:15 -08:00
Chris Done
2499b7b390
Fix compiler warnings
2014-12-16 12:03:25 +01:00
Chris Done
c39cd34765
Don't make a README section if the content's empty
2014-12-16 11:48:34 +01:00
Chris Done
6f6c973d07
Fix up package where clause
2014-12-15 13:13:04 +01:00
Chris Done
1598423a6a
Add LTS Haskell and Stackage Nightly links
...
Also made getPackageR slightly less horrific
2014-12-15 12:53:06 +01:00
Chris Done
b498d0a041
Separate page for all snapshots of a package
2014-12-15 11:49:37 +01:00
Chris Done
8010783064
Add hoempage link and collapse likes and tags
2014-12-14 20:55:24 +01:00
Chris Done
f7dde0a8e0
Add synopsis to package page
2014-12-14 20:41:17 +01:00
Chris Done
8d056968d0
Move snapshots and docs links to the top
2014-12-14 20:38:37 +01:00
Michael Snoyman
046d3b6094
Support doc maps
2014-12-13 20:28:12 +02:00
Michael Snoyman
346cf7a8da
Reverse dependencies #33
2014-12-08 16:15:56 +02:00
Michael Snoyman
a8911dbb3b
Better URLs #37
...
URLs now look like /snapshot/2014-11-23-7.8hp-exc and similar.
2014-11-23 14:26:03 +02:00
Chris Done
190fef7adc
Move tag part of slugs into own module, make tag banning use it ( #34 )
2014-11-20 14:55:54 +01:00
Chris Done
f36df17c01
Add tag voting ( #35 )
2014-11-20 12:43:20 +01:00
Michael Snoyman
985f48a6dc
Banned tags #34
2014-11-20 12:26:45 +02:00
Michael Snoyman
fe4cda60f8
Clean up warnings
2014-11-19 11:08:45 +02:00
Chris Done
e6fb29c9ee
Fix stylesheet on all pages
2014-11-13 22:50:01 +01:00
Michael Snoyman
972fc5ae18
Minor cleanups from code review
2014-11-13 23:24:26 +02:00
Chris Done
c9671e7f3c
Implement basic tagging ( closes #16 )
2014-11-13 22:20:57 +01:00
Michael Snoyman
d5989c8fbf
Move liked classes into template
...
Per discussion with @DanBurton
2014-11-13 22:39:25 +02:00
Chris Done
436cdfb15e
Like button tweaks ( closes #15 )
2014-11-13 20:30:44 +01:00
Dan Burton
9c229d2d4e
Added like button functionality ( #15 )
2014-11-13 20:07:24 +01:00
Chris Done
b1d9b7e6d9
Show README and changelog from metadata table
...
@snoyberg
Check out these locally when your data is generated, they demonstrate
varying readme and changelog formats.
http://localhost:3000/package/yesod-core
http://localhost:3000/package/fay
http://localhost:3000/package/base
http://localhost:3000/package/conduit
http://localhost:3000/package/aeson
http://localhost:3000/package/bytestring
Pity there's no standard CHANGELOG format but it's better than
nothing and looks pretty in the conduit/base case.
2014-11-03 17:47:32 +01:00
Chris Done
d195dea789
Use getBy404
2014-11-03 16:37:47 +01:00
Chris Done
51744dc54d
Pretty package page with metadata
2014-11-03 12:33:59 +01:00
Chris Done
0ac31b045f
Add non-custom version of bootstrap for rest of pages
2014-11-03 12:33:59 +01:00
Michael Snoyman
1d46dcf5d6
Display download stats on package page
2014-10-24 13:50:59 +03:00
Michael Snoyman
a68d05ad9f
only exclusive links
2014-10-24 13:50:59 +03:00
Michael Snoyman
639e311093
Prototype package pages
2014-10-24 13:50:59 +03:00