mine/quicknote.git
3 months agoUpdate rails to 2.3.14 master
Alexey Borzenkov [Sat, 4 Feb 2012 20:33:42 +0000]
Update rails to 2.3.14

15 months agoUpgrade to rails 2.3.11
Alexey Borzenkov [Sat, 12 Feb 2011 06:41:17 +0000]
Upgrade to rails 2.3.11

21 months agoSwitch database adapter to mysql2 as well
Alexey Borzenkov [Sat, 14 Aug 2010 19:42:47 +0000]
Switch database adapter to mysql2 as well

21 months agoSwitch to mysql2 gem
Alexey Borzenkov [Sat, 14 Aug 2010 19:39:38 +0000]
Switch to mysql2 gem

21 months agoAdd mysql and sqlite3-ruby to gems to environment.rb
Alexey Borzenkov [Thu, 29 Jul 2010 20:48:23 +0000]
Add mysql and sqlite3-ruby to gems to environment.rb

21 months agoRemove unused .gitmodules
Alexey Borzenkov [Thu, 29 Jul 2010 20:46:58 +0000]
Remove unused .gitmodules

21 months agoMove production to mysql, in the repo too
Alexey Borzenkov [Thu, 29 Jul 2010 20:43:46 +0000]
Move production to mysql, in the repo too

21 months agoSpecify :name => nil for search submit_tag
Alexey Borzenkov [Thu, 29 Jul 2010 20:40:17 +0000]
Specify :name => nil for search submit_tag

23 months agoGet back to cookie store. As a result you can't
Alexey Borzenkov [Sat, 5 Jun 2010 07:28:29 +0000]
Get back to cookie store. As a result you can't
really logout, but otherwise it causes too much
disk activity with sqlite.

23 months agoUpgrade to rails 2.3.8
Alexey Borzenkov [Sat, 29 May 2010 18:18:54 +0000]
Upgrade to rails 2.3.8

2 years agoStart using gems instead of plugins
Alexey Borzenkov [Mon, 3 May 2010 09:27:15 +0000]
Start using gems instead of plugins

2 years agoUpdate searchlogic
Alexey Borzenkov [Fri, 18 Dec 2009 22:53:29 +0000]
Update searchlogic

2 years agoUpdate inherited_resources
Alexey Borzenkov [Fri, 18 Dec 2009 22:49:27 +0000]
Update inherited_resources

2 years agoUpgrade to rails 2.3.5
Alexey Borzenkov [Fri, 18 Dec 2009 22:37:57 +0000]
Upgrade to rails 2.3.5

2 years agoUpdate inherited_resources
Alexey Borzenkov [Thu, 24 Sep 2009 14:45:22 +0000]
Update inherited_resources

2 years agoUsers controller should use request.remote_ip
Alexey Borzenkov [Thu, 24 Sep 2009 14:45:11 +0000]
Users controller should use request.remote_ip

2 years agoOoops. It's ActiveSupport::SecureRandom.
Alexey Borzenkov [Thu, 24 Sep 2009 14:36:34 +0000]
Ooops. It's ActiveSupport::SecureRandom.

2 years agoMake sure we are checking digest made with the same algorithm it is stored
Alexey Borzenkov [Thu, 24 Sep 2009 14:29:24 +0000]
Make sure we are checking digest made with the same algorithm it is stored

2 years agoSimplify User#decode_password: \w also matches \d
Alexey Borzenkov [Thu, 24 Sep 2009 14:28:38 +0000]
Simplify User#decode_password: \w also matches \d

2 years agoUse SecureRandom for salt generation and make it longer by default
Alexey Borzenkov [Thu, 24 Sep 2009 14:27:56 +0000]
Use SecureRandom for salt generation and make it longer by default

2 years agoUpdate searchlogic
Alexey Borzenkov [Thu, 24 Sep 2009 14:20:44 +0000]
Update searchlogic

2 years agoUpdated plugins
Alexey Borzenkov [Mon, 7 Sep 2009 09:38:50 +0000]
Updated plugins

2 years agoUpgrade to rails 2.3.4
Alexey Borzenkov [Fri, 4 Sep 2009 20:01:48 +0000]
Upgrade to rails 2.3.4

2 years agoAdd json support to notes controller
Alexey Borzenkov [Wed, 2 Sep 2009 21:30:09 +0000]
Add json support to notes controller

2 years agoOoops...
Alexey Borzenkov [Wed, 2 Sep 2009 21:27:29 +0000]
Ooops...

2 years agoUpdated inherited_resources
Alexey Borzenkov [Wed, 2 Sep 2009 21:11:07 +0000]
Updated inherited_resources

2 years agoIgnore .sessionsecret file
Alexey Borzenkov [Wed, 2 Sep 2009 21:07:07 +0000]
Ignore .sessionsecret file

2 years agoRefactor flases to a partial and auto-update flashes for javascript calls
Alexey Borzenkov [Wed, 2 Sep 2009 21:00:09 +0000]
Refactor flases to a partial and auto-update flashes for javascript calls

2 years agoRefactor notes controller to inherited_resources
Alexey Borzenkov [Wed, 2 Sep 2009 20:59:08 +0000]
Refactor notes controller to inherited_resources

2 years agoChange current_user code a little and switch to remove_ip
Alexey Borzenkov [Wed, 2 Sep 2009 20:58:27 +0000]
Change current_user code a little and switch to remove_ip

Since rails processes are often behind apache remove_addr
would always be 127.0.0.1. And looking closer at the code
remove_addr has a white-list of proxies that includes
most-likely local IP addresses, so it is relatively
safe...

2 years agoAdd inherited_resources plugin
Alexey Borzenkov [Wed, 2 Sep 2009 20:55:43 +0000]
Add inherited_resources plugin

2 years agoSave search query between page views
Alexey Borzenkov [Tue, 1 Sep 2009 13:56:52 +0000]
Save search query between page views

2 years agoUse searchlogic as a plugin
Alexey Borzenkov [Tue, 1 Sep 2009 13:35:52 +0000]
Use searchlogic as a plugin

2 years agoUse will_paginate as a plugin
Alexey Borzenkov [Tue, 1 Sep 2009 13:18:51 +0000]
Use will_paginate as a plugin

2 years agoStupid \r
Alexey Borzenkov [Thu, 27 Aug 2009 19:40:22 +0000]
Stupid \r

2 years agoFactor search form into partial and move it on top
Alexey Borzenkov [Thu, 27 Aug 2009 16:33:03 +0000]
Factor search form into partial and move it on top

2 years agoAdd primitive searching
Alexey Borzenkov [Thu, 27 Aug 2009 15:00:24 +0000]
Add primitive searching

2 years agoCreate users from command like
Alexey Borzenkov [Thu, 27 Aug 2009 14:50:37 +0000]
Create users from command like

2 years agoEnsure target attribute is set on the anchor tag
Alexey Borzenkov [Sat, 22 Aug 2009 15:29:35 +0000]
Ensure target attribute is set on the anchor tag

2 years agoScratch that: window.open breaks some standard
Alexey Borzenkov [Tue, 11 Aug 2009 19:59:25 +0000]
Scratch that: window.open breaks some standard
keyboard shortcuts, like Shift+click that suddenly
starts opening in the same tab. Set target=_blank
just before the link is clicked.

2 years agoUse jQuery's live instead of target=_blank
Alexey Borzenkov [Tue, 11 Aug 2009 19:37:09 +0000]
Use jQuery's live instead of target=_blank

2 years agoRemove prototype, it likely won't be needed
Alexey Borzenkov [Tue, 11 Aug 2009 13:10:53 +0000]
Remove prototype, it likely won't be needed

2 years agoMigrate to rails 2.3.3 and use will_paginate
Alexey Borzenkov [Mon, 10 Aug 2009 20:42:47 +0000]
Migrate to rails 2.3.3 and use will_paginate

3 years agoForce session update for loggen in users
Alexey Borzenkov [Sun, 17 May 2009 08:56:57 +0000]
Force session update for loggen in users

This way updated_at will be updated in the database
every time user refreshes the page and cron job
won't remove session that was active, but wasn't
changing.

3 years agoRevert "I keep getting logged out for some strange reason"
Alexey Borzenkov [Sun, 17 May 2009 08:17:04 +0000]
Revert "I keep getting logged out for some strange reason"

This reverts commit ebb384bda45bbd3b56dcea0526f2ae3ca1361194.
As it turns out it was a problem with Dashboard destroying
Safari cookies.

3 years agoI keep getting logged out for some strange reason
Alexey Borzenkov [Sun, 17 May 2009 03:29:19 +0000]
I keep getting logged out for some strange reason

Try to investigate why this happens.

3 years agoIn ruby private and protected are different than
Alexey Borzenkov [Fri, 15 May 2009 05:58:33 +0000]
In ruby private and protected are different than
other languages, so it should really be private :)

3 years agoAdd session:cleanup rake task
Alexey Borzenkov [Thu, 14 May 2009 19:48:52 +0000]
Add session:cleanup rake task

3 years agoCosmetic changes in ApplicationController
Alexey Borzenkov [Thu, 14 May 2009 19:04:15 +0000]
Cosmetic changes in ApplicationController

3 years agoFilter parameter logging of passwords
Alexey Borzenkov [Thu, 14 May 2009 19:03:30 +0000]
Filter parameter logging of passwords

3 years agoDon't use window.open, because it breaks things like
Alexey Borzenkov [Wed, 13 May 2009 20:26:43 +0000]
Don't use window.open, because it breaks things like
middle clicking and forces tabs/windows to open in
foreground. Just set target attribute to _blank
instead.

3 years agoAdd indexes for faster lookups
Alexey Borzenkov [Wed, 13 May 2009 08:16:03 +0000]
Add indexes for faster lookups

3 years agoAdd rake task to create .sessionsecret file
Alexey Borzenkov [Wed, 13 May 2009 08:15:43 +0000]
Add rake task to create .sessionsecret file

3 years agoMake session expire in 3 days
Alexey Borzenkov [Wed, 13 May 2009 08:15:29 +0000]
Make session expire in 3 days

3 years agoStore session secret in a separate file and move to active_record_store
Alexey Borzenkov [Sat, 25 Apr 2009 13:25:27 +0000]
Store session secret in a separate file and move to active_record_store

This way I can keep all settings (except the secret) in the repository
without fears of having to deal future merges when I change something.
To generate the secret one would need to run

  rake -s secret >.sessionsecret

in the RAILS_ROOT directory.

3 years agoMake user pages' path shorter
Alexey Borzenkov [Sat, 25 Apr 2009 09:22:54 +0000]
Make user pages' path shorter

3 years agoDon't allow images to break layout
Alexey Borzenkov [Thu, 23 Apr 2009 20:38:42 +0000]
Don't allow images to break layout

3 years agoOoops... perhaps I do need tests...
Alexey Borzenkov [Thu, 23 Apr 2009 20:03:59 +0000]
Ooops... perhaps I do need tests...

3 years agoLink to per-user atom feeds
Alexey Borzenkov [Thu, 23 Apr 2009 19:58:52 +0000]
Link to per-user atom feeds

3 years agoMake users' notes selectively visible on front page to anonymous users
Alexey Borzenkov [Thu, 23 Apr 2009 19:46:53 +0000]
Make users' notes selectively visible on front page to anonymous users

Administrator can allow only certain users' notes to be visible to
anonymous users on the front page. Yet user can still provide a link
to their own page where their public notes are displayed to anonymous
users. Logged in users will still see all public notes on the front page,
as before.

3 years agoRefactor finder options in NotesController#index
Alexey Borzenkov [Thu, 23 Apr 2009 14:26:00 +0000]
Refactor finder options in NotesController#index

3 years agoAdd title to atom entries
Alexey Borzenkov [Thu, 23 Apr 2009 14:10:11 +0000]
Add title to atom entries

3 years agoOpen links in new window
Alexey Borzenkov [Wed, 22 Apr 2009 21:34:45 +0000]
Open links in new window

3 years agoSeems like a better way to use helpers
Alexey Borzenkov [Wed, 22 Apr 2009 21:04:29 +0000]
Seems like a better way to use helpers

3 years agoStrip text before textiling to get rid of accidental br's at the end
Alexey Borzenkov [Wed, 22 Apr 2009 20:43:00 +0000]
Strip text before textiling to get rid of accidental br's at the end

3 years agoDon't force authentication on show action ;)
Alexey Borzenkov [Wed, 22 Apr 2009 20:36:22 +0000]
Don't force authentication on show action ;)

3 years agoAdd atom feed :)
Alexey Borzenkov [Wed, 22 Apr 2009 20:26:57 +0000]
Add atom feed :)

3 years agoMove preview out of table
Alexey Borzenkov [Wed, 22 Apr 2009 20:02:20 +0000]
Move preview out of table

3 years agoAdd preview button to note form
Alexey Borzenkov [Wed, 22 Apr 2009 19:59:09 +0000]
Add preview button to note form

3 years agoOptimize by serving javascript libraries from Google
Alexey Borzenkov [Wed, 22 Apr 2009 09:46:20 +0000]
Optimize by serving javascript libraries from Google

3 years agoPrefer onclick over javascript_tag
Alexey Borzenkov [Tue, 21 Apr 2009 20:23:28 +0000]
Prefer onclick over javascript_tag

3 years agoDon't create unnecessary idvars
Alexey Borzenkov [Tue, 21 Apr 2009 20:22:51 +0000]
Don't create unnecessary idvars

3 years agoAdd j and jq javascript helpers and use them
Alexey Borzenkov [Tue, 21 Apr 2009 20:22:11 +0000]
Add j and jq javascript helpers and use them

3 years agoAudit security
Alexey Borzenkov [Mon, 20 Apr 2009 21:44:28 +0000]
Audit security

There is a hypotetical situation where an attacker could sniff session
object immediately before login, and use posted password_digest to
reauthenticate with different remote_addr. To counter that we protect
login_salt2 with login_remote, to ensure this particular salt came from
authentic remote_addr.

3 years agoImplement SessionHash#delete
Alexey Borzenkov [Mon, 20 Apr 2009 21:38:35 +0000]
Implement SessionHash#delete

3 years agoFix a minor bug with how page is calculated
Alexey Borzenkov [Mon, 20 Apr 2009 14:41:19 +0000]
Fix a minor bug with how page is calculated

3 years agoFix a typo in _noteform.html.erb
Alexey Borzenkov [Mon, 20 Apr 2009 14:19:33 +0000]
Fix a typo in _noteform.html.erb

3 years agoDon't refocus note_body: that's ugly...
Alexey Borzenkov [Mon, 20 Apr 2009 14:15:35 +0000]
Don't refocus note_body: that's ugly...

3 years agoAdd ajax support
Alexey Borzenkov [Mon, 20 Apr 2009 14:10:03 +0000]
Add ajax support

3 years agoImprove notes paging
Alexey Borzenkov [Mon, 20 Apr 2009 12:28:32 +0000]
Improve notes paging

3 years agoWhen deleting notes ensure we are redirected to the same page
Alexey Borzenkov [Mon, 20 Apr 2009 12:28:07 +0000]
When deleting notes ensure we are redirected to the same page

3 years agoAdd spacer between notes, plus clean up layout once again
Alexey Borzenkov [Mon, 20 Apr 2009 12:17:49 +0000]
Add spacer between notes, plus clean up layout once again

3 years agoMake layouts cleaner
Alexey Borzenkov [Mon, 20 Apr 2009 10:58:56 +0000]
Make layouts cleaner

3 years agoImprove application stylesheet
Alexey Borzenkov [Mon, 20 Apr 2009 10:53:13 +0000]
Improve application stylesheet

3 years agoFix missing escape in notes_page_link
Alexey Borzenkov [Mon, 20 Apr 2009 10:51:15 +0000]
Fix missing escape in notes_page_link

3 years agoImprove lite formatting
Alexey Borzenkov [Mon, 20 Apr 2009 10:23:01 +0000]
Improve lite formatting

3 years agoMinor improvement to page links
Alexey Borzenkov [Mon, 20 Apr 2009 10:17:14 +0000]
Minor improvement to page links

3 years agoImprove note formatting
Alexey Borzenkov [Mon, 20 Apr 2009 10:15:54 +0000]
Improve note formatting

3 years agoChange 'New' to 'Post', it was suggested it is easier to understand
Alexey Borzenkov [Sat, 18 Apr 2009 22:56:42 +0000]
Change 'New' to 'Post', it was suggested it is easier to understand

3 years agoDisplay when notes have been updated
Alexey Borzenkov [Sat, 18 Apr 2009 22:55:09 +0000]
Display when notes have been updated

3 years agoAudit security
Alexey Borzenkov [Sat, 18 Apr 2009 22:37:30 +0000]
Audit security

3 years agoChange Note#is_public default to true
Alexey Borzenkov [Sat, 18 Apr 2009 22:25:57 +0000]
Change Note#is_public default to true

3 years agoAdd RedCloth to gems
Alexey Borzenkov [Sat, 18 Apr 2009 21:58:30 +0000]
Add RedCloth to gems

3 years agoFirst Quicknote implementation :)
Alexey Borzenkov [Sat, 18 Apr 2009 20:54:22 +0000]
First Quicknote implementation :)

3 years agoDo some maintenance
Alexey Borzenkov [Sat, 18 Apr 2009 20:37:41 +0000]
Do some maintenance

* add .gitignore
* add jquery
* add scaffold.css
* remove index.html
* untrack logs

3 years agostarted project quicknote
Alexey Borzenkov [Sat, 18 Apr 2009 14:42:17 +0000]
started project quicknote