Commit Graph
13034 Commits
Author SHA1 Message Date
Skud 1d529f0783 oops, locals aren't required here 2012-11-13 20:37:03 +11:00
Skud b6675fa8cb Added a link to "Members" on the homepage.
The members' index page was another story (#39029449) but it ended
up getting done as a side effect of the RSS story.
2012-11-12 17:44:17 +11:00
Skud 4e3dff25f6 Standardised RSS feed titles and removed descriptions.
The descriptions were just repeating the titles anyway.
2012-11-12 17:36:28 +11:00
Skud ae386149d8 Limited the firehose feed to 100 updates
(should be MORE than enough. we're going to have to cut this feed off
pretty promptly, I should think!)
2012-11-12 17:32:51 +11:00
Skud 1d3df3cba9 Added an feed for crops, too (PT #37282795) 2012-11-12 17:29:37 +11:00
Skud cdc356fc73 Added RSS auto-discovery to the <head> of each page
Note: no tests because we haven't yet figured out how to test things
that appear in the HEAD section. Suggestions welcome.
2012-11-12 16:57:37 +11:00
Skud 8006f75275 RSS feeds for each member, plus tests. 2012-11-12 16:15:13 +11:00
cephLpod 1c5c780753 RSS feed for all updates.
Haven't written any tests yet. Oops.
Still need each user's individual feed.
2012-11-11 22:19:54 -06:00
Skud 5a379a40ab Merge pull request #46 from Skud/updates2
Updates
2012-11-11 16:16:15 -08:00
Skud e20c28a9b4 Merge pull request #48 from pozorvlak/login_profile_link
Change "you are logged in as X" to a link to your profile
2012-11-10 03:57:54 -08:00
Juliet 3cca99155b Link 'you are logged in as' to profile page (ID 38703855) 2012-11-09 14:56:33 +00:00
Juliet 95a330a768 Removing unused growstuff/ and test/ directories (use spec/ instead of test/) 2012-11-09 14:56:33 +00:00
Skud cf75af105f Added dual index on creation date and user id
As suggested by rails tutorial, as it'll be needed for displaying
updates quickly on members' pages.
2012-11-10 00:07:11 +11:00
Skud c68ff5424e Added tests for markdown formatting 2012-11-09 23:29:58 +11:00
Miles Gould 02fbae0cfc Use Markdown to display updates 2012-11-09 12:06:18 +00:00
Miles Gould 78532ca2aa Link to list of recent updates from homepage. 2012-11-09 10:35:50 +00:00
Miles Gould c77badaa58 Show updates in divs instead of tables
Using a partial to DRY out the rendering.
2012-11-09 10:32:12 +00:00
Miles Gould e6eb30fbbf Fetch updates in reverse chronological order by default. 2012-11-09 10:13:16 +00:00
Miles Gould ed896dd7a5 Add "Post an update" link to the header 2012-11-08 14:01:33 +00:00
Miles Gould 27458d982a Show list of updates on a user's profile page.
Listed in reverse chronological order.
2012-11-08 14:01:11 +00:00
Miles Gould babc345b8d Link update/show to profile of author. 2012-11-08 13:30:52 +00:00
Miles Gould a8cd45f97c Defuglify the "show updates" page. 2012-11-08 13:13:24 +00:00
Miles Gould e12bea06c3 Defuglify the "Edit update" page. 2012-11-08 12:53:53 +00:00
Skud c179085be1 Merge pull request #45 from pozorvlak/test_users
Create some test users in dev and test environments.
2012-11-08 04:47:54 -08:00
Miles Gould 287a964e87 Post new updates
- always use the ID of the logged-in user
2012-11-08 12:32:07 +00:00
Miles Gould f3a590fb96 Create Update table and associated gubbins 2012-11-08 11:04:42 +00:00
Miles Gould c85ec501ac Create some test users in dev and test environments.
They're called test1, test2, test3 and have passwords password1 etc.
Run `rake db:seed` or `rake db:setup` to get them.
2012-11-08 10:49:51 +00:00
pozorvlak 265ac8e1ef Merge pull request #44 from Skud/cropimport
Crop import
2012-11-08 02:25:23 -08:00
Skud 1dccf5c432 standardised some capitalisation and spelling 2012-11-07 13:59:03 +11:00
Skud 6d7b04e734 Only logged in users can add/edit scientific names
Some small tweaks to crops tests along the way
2012-11-07 13:46:01 +11:00
Skud 4e3c47a82f Showing scientific names on the crop page 2012-11-07 13:19:59 +11:00
Skud 876a74cee8 Import crops spreadsheet.
Run 'rake db:seed' to load up the data.
2012-11-07 13:07:33 +11:00
Skud a122613ba3 added scientific names table/model/etc 2012-11-07 12:45:35 +11:00
Skud 913695e795 Merge pull request #43 from Skud/friendlymembers
missed these migrations. d'oh.
2012-11-06 02:44:07 -08:00
Skud 87392a392b missed this migrations. i'm a dolt. 2012-11-06 21:43:04 +11:00
Skud 8d1f92084e Merge pull request #42 from Skud/friendlymembers
Added friendly URLs (/members/skud) for each member
2012-11-06 02:32:19 -08:00
Skud 42c7f86d6d Added friendly URLs (/members/skud) for each member 2012-11-06 21:31:16 +11:00
Skud eb25d24c03 Merge pull request #41 from sauramaia/membersurl
changed profile URL to members (#38934935)
2012-11-06 02:10:03 -08:00
Maia Sauren af47daa1a4 changed profile URL to members (#38934935) 2012-11-06 20:59:14 +11:00
Norman Ancajas b39ee792b4 give each user a garden. note: tests broken! 2012-11-05 14:29:04 +08:00
Norman Ancajas 77c2e83c64 wrote migration to add test users, fixed tests 2012-11-05 13:03:19 +08:00
Norman Ancajas f89815b6b3 added gardens table 2012-11-05 11:45:56 +08:00
Skud c3b91299e5 Merge pull request #40 from pozorvlak/profile_no_last_login
Create a skeleton profile view
2012-10-30 16:18:42 -07:00
Miles Gould 1216862753 Rewrote profile page to use string interpolation.
Thanks to Matt Fitzgerald for pointing this out:
https://github.com/pozorvlak/growstuff/commit/32fa860dbd31773d1a45a3e1bdd87fb91a298341#commitcomment-2072792
2012-10-30 12:57:01 +00:00
Miles Gould 946b3236bb Added spec for profile view. 2012-10-30 09:25:32 +00:00
Miles Gould 8432ec57e7 Show creation date in profile.
US date format used for account creation date to match US English usage.
2012-10-30 09:25:15 +00:00
tehjaymo 32fa860dbd Created profile controller, route and view.
It's under the /profile route rather than /user to avoid clashes with
autogenerated Devise pages.
2012-10-29 22:24:26 +00:00
pozorvlak a8eaa86d2d Merge pull request #39 from Skud/friendlyid
Set up friendly IDs for crops aka slugs (eww!)
2012-10-28 03:32:27 -07:00
Skud 3b72a9ed17 Set up friendly IDs for crops aka slugs (eww!) 2012-10-27 15:08:30 +11:00
Skud 1ad5669328 Merge pull request #38 from sauramaia/devsiteheader
added 'development site' to header
2012-10-25 04:30:06 -07:00