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
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
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
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
a122613ba3
added scientific names table/model/etc
2012-11-07 12:45:35 +11:00
Skud
42c7f86d6d
Added friendly URLs (/members/skud) for each member
2012-11-06 21:31:16 +11:00
Maia Sauren
af47daa1a4
changed profile URL to members ( #38934935 )
2012-11-06 20:59:14 +11:00
Miles Gould
946b3236bb
Added spec for profile view.
2012-10-30 09:25:32 +00:00
Skud
3b72a9ed17
Set up friendly IDs for crops aka slugs (eww!)
2012-10-27 15:08:30 +11:00
Maia Sauren
2273e28992
added 'development site' to header
2012-10-25 22:23:22 +11:00
Skud
140852afed
You can now reconfirm using email or username.
...
Also, cleaned up the standard devise links that show up everywhere, removing signup/signin as they duplicate what's in our header.
2012-10-06 14:53:50 +01:00
Skud
66339f9d5e
Merge pull request #23 from federicomenaquintero/dev
...
In the page footer, add a link to the wiki
2012-10-05 11:57:41 -07:00
pozorvlak
b5dcad055d
Merge pull request #26 from Skud/story72cropediting
...
Story72cropediting
2012-10-03 13:40:39 -07:00
Skud
8b353067be
Fixed a small bug in this test file.
2012-10-03 21:35:24 +01:00
Miles Gould
3419a559e1
Require a system name for crops.
2012-10-03 20:38:39 +01:00
Skud
dc00e06bad
Added tests for logged-in-ness in a few other places.
...
Turned actions ("add new", "edit', etc) into buttons using Zurb CSS.
2012-10-02 22:41:36 +01:00
Skud
aa0ff3869e
Need to be logged in to edit crops.
2012-10-02 22:15:56 +01:00
Federico Mena Quintero
b84f4eaed8
In the page footer, add a link to the wiki
...
Signed-off-by: Federico Mena Quintero <federico@gnome.org >
2012-10-02 09:42:40 -05:00
Miles Gould
622ddf620a
Refactor h2s into content_for :title
...
Now the alert and notice are shown below the subtitle, and the browser
title bar tells you something useful.
2012-10-02 11:32:56 +01:00
Miles Gould
b85354f099
Prettify views for crops.
2012-10-02 11:32:56 +01:00
Miles Gould
1d9c1b14fc
Generate scaffold for Crops; refactor tests
...
Add link to Crops page from index
Refactored index/application tests to better reflect where things are.
2012-10-02 11:32:56 +01:00
Miles Gould
25a0c0caeb
Finish Hamlifying Devise-generated views.
2012-09-14 23:47:49 +01:00
Miles Gould
6d8880da2a
Test for presence of an unlock link.
2012-09-14 23:07:50 +01:00
Miles Gould
318a0afb35
HAMLify some pages.
2012-09-13 17:02:36 +01:00
Miles Gould
60add22a42
More pre-hamlification tests for views.
2012-09-13 16:40:50 +01:00
Miles Gould
ddc3ae1f01
Don't repeat tests for all links in application spec.
2012-09-12 21:29:07 +01:00
Cesy Avon
7bd0c36162
More unit tests for HAML
2012-09-12 12:42:22 -07:00
Cesy Avon
173aad7dea
Adding tests in preparation for HAML
2012-09-12 11:56:22 -07:00
Cesy Avon
0c3bcbdb1e
HAML-ify new session
2012-09-12 11:52:38 -07:00
Miles Gould
802c762004
Test for email confirmation page.
2012-09-10 23:38:25 +01:00
Miles Gould
f076438ef9
Test for footer.
2012-09-10 23:06:23 +01:00
Miles Gould
bb3516b19c
Use spork to run spec tests.
...
Spork initialises rails once and thereafter uses that copy of rails to
run spec tests, leading to much faster test runs. On my machine, testing
index.html.haml takes 2s instead of 7s after this change, and `rake`
takes ~9s instead of ~18s.
Instructions once again taken from
http://www.rubyinside.com/how-to-rails-3-and-rspec-2-4336.html , though I
didn't copy any code for this commit.
2012-09-10 14:54:55 +01:00
Miles Gould
1e0545fe30
Use watchr to watch spec, rb, haml and erb files.
...
- .watchr script mostly nicked from
http://www.rubyinside.com/how-to-rails-3-and-rspec-2-4336.html
- I moved the views specs to mirror the location of the files they test
in /app, in order to keep the .watchr script simple
- as an added bonus, `rake spec:views` now works :-)
2012-09-10 14:14:45 +01:00
Miles Gould
3956d118fa
Port index and application to HAML
2012-09-09 21:26:05 +01:00
Skud
aa2769cd9d
Merge pull request #8 from pozorvlak/story14footer
...
Story 14: include links in footer
2012-09-09 13:18:55 -07:00
Miles Gould
b109bdd0fa
Story 14: links in footer.
2012-09-09 20:32:09 +01:00
Miles Gould
bfa783f462
Unify calls to "render" in spec tests.
2012-09-09 20:14:27 +01:00
Miles Gould
5aa3242104
Include project description on index page.
2012-09-09 20:07:07 +01:00
Skud
9792abbf87
made user accounts confirmable by email
2012-09-03 13:16:24 +01:00
Skud
b4ab40a2b3
added failing tests for logging in by username
2012-09-03 12:27:57 +01:00
Skud
ada033ed87
added very basic tests for user model
2012-09-03 12:26:09 +01:00
Skud
321ee98d6e
added rspec tests for index.html.erb when logged in
2012-09-03 11:37:55 +01:00
Skud
797846ffef
added a simple rspec test for index.html.erb
2012-09-03 11:21:07 +01:00