Author Commit Message Labels Comments Date
OJ Reeves avatarOJ Reeves
Added the right verb to the new Create() function overload to remove a stupid ambiguity.
OJ Reeves avatarOJ Reeves
Merged with Leon's changes after a little bit of a fight thanks to me mucking around too much.
OJ Reeves avatarOJ Reeves
Did a bit of work with the views and models to tidy things up a little. Added the SnippetCreateData and started work on getting the create functionality working.
secretgeek avatarsecretgeek
voting graph.
secretgeek avatarsecretgeek
no longer redirect to results view, instead to the 'view' view.
secretgeek avatarsecretgeek
fiddle with wording on About
OJ Reeves avatarOJ Reeves
Added the basics of snippet voting. Lots to do here. Still need to get some unit tests written as well. Used an enumeration type to indicate which snippet was voted for, and used the CustomType<>() function on the fluent mapping to get the map to/from enums/ints.
OJ Reeves avatarOJ Reeves
Merged with Leon's changes.
OJ Reeves avatarOJ Reeves
Did some refactoring of unit test names.
OJ Reeves avatarOJ Reeves
Added creation and upate functions to the user service. Users who log in for the first time will automatically be given a user entry in the database now. Existing users will have their last login time updated.
OJ Reeves avatarOJ Reeves
Changed the name of the logon control to "TopMenu" to be a bit more intuitive.
OJ Reeves avatarOJ Reeves
Modified the information message mechanism so that the user no longer has to know about whether they are redirecting or not. Simply add to the InformationMessages property and your message should magically appear at the other end.
secretgeek avatarsecretgeek
Added LoadOrCreateUser, so new users can get into the database.
secretgeek avatarsecretgeek
Just walked through all the code reading it, as an exercise, and remvoe and sort usings along the way.
secretgeek avatarsecretgeek
more styling, and a little 'create snippet' action/view
secretgeek avatarsecretgeek
messing with styles
OJ Reeves avatarOJ Reeves
Merged Leon's changes
OJ Reeves avatarOJ Reeves
Added an action filter which makes sure that the user is both loaded from the DB (should they browse back to the site after a session has expired but they still have a valid cookie). Viewing accounts now loads based on user identifier rather than display name (as the display name might not be unique). This should probably be done via IoC instead of action filters.
OJ Reeves avatarOJ Reeves
Fixed the issue with the mismatch in view model types for the ViewAccount action.
OJ Reeves avatarOJ Reeves
Fixed up the loading of random snippets so that it is actually random.
secretgeek avatarsecretgeek
minor style changes.
secretgeek avatarsecretgeek
use data model and view so we can show user summary when you click on user name
secretgeek avatarsecretgeek
a view for the user's details
secretgeek avatarsecretgeek
this is a cheatsheet i wrote to help me with mercurial as I am a mega noob
OJ Reeves avatarOJ Reeves
Added the Specify unit testing framework.
OJ Reeves avatarOJ Reeves
Added GetNextSnippet() and GetPreviousSnippet() functions on the snippet service to allow access to the appropriate snippets with respect to a given snippet. These had to do a double-hit to the database because Linq to NHibernate doesn't support group joins. These functions go based on creation date rather than on snippet identifiers.
OJ Reeves avatarOJ Reeves
Added the dotless library for handling CSS.
OJ Reeves avatarOJ Reeves
Removed the configuration file for nhibernate as this has been replaced with a fluent configuration.
OJ Reeves avatarOJ Reeves
Added the basics of the snippet functionality. Snippets are loaded from the database (though at the moment, only the first one is shown). The snippet service uses Linq to talk to MySQL via NHibernate now.
OJ Reeves avatarOJ Reeves
Added binaries that the initial commit didn't pick up
  1. Prev
  2. Next
Help
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.