Commit graph

41 commits

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason
db51d7f3dd Added & cleaned up messages relating to a given user not existing
The following pages now have a <title> that can be set in localizations:

 * /user/USER_DOES_NOT_EXIST
 * /user/USER_DOES_NOT_EXIST/diary
 * /user/USER_DOES_NOT_EXIST/traces
 * /message/*/ID_DOES_NOT_EXIST

In addition I've cleaned up the i18n message keys of all the
''no_such_user.rhtml'' pages involved. They now all use
title/heading/body for the <title>, <h2> and <p> respectively. And the
message key {{user}} instead of {{name}}.
2009-06-06 13:15:53 +00:00
Tom Hughes
cd48e2d1f7 Remove left over code from original diary language implementation that
was stopping editing from being able to change the language.
2009-06-02 08:56:49 +00:00
Tom Hughes
1be7bb8a04 Make a few more strings translatable in the diary entry controller
and tidy up the translations for some of the partials.
2009-06-02 08:13:41 +00:00
Shaun McDonald
f3bcdd85d7 Some more i18n html titles 2009-05-31 16:51:20 +00:00
Tom Hughes
0e96027a20 Sort out storage and use of user preferred languages. 2009-05-31 14:55:45 +00:00
Tom Hughes
5b3b288fc2 Add a list of languages and fix a few issues with the schema. Also get
language selection for diary entries working.
2009-05-30 16:37:21 +00:00
Shaun McDonald
3a599519eb Some more of the user account translations. Custom generate method for languages, that doesn't appear to work. Setting user language on create. Start translations in controllers. Diary entries can now be saved. 2009-05-30 14:04:42 +00:00
Shaun McDonald
b377927a64 Diary entries pretty much i18n'd. Additional test that checks there are no missing translation strings, need more like it. 2009-05-27 17:19:59 +00:00
Shaun McDonald
53b4d645d8 First stage of i18n. Some migrations and extra plugins. 2009-05-22 18:36:17 +00:00
Tom Hughes
5449cf4adc Merge 14394:14533 from trunk. 2009-04-16 21:11:12 +00:00
Tom Hughes
09fdee5493 Add a "database readonly" state that allows all writes to the database
to be suppressed.
2009-04-14 14:27:30 +00:00
Shaun McDonald
bdd5c317a7 Adding some more diary entry tests. Making the RSS feed links more portable, by using the SERVER_URL constant. Fixing the validation for the length of the language of diary entries until the i18n branch is integrated. 2008-11-13 17:20:40 +00:00
Shaun McDonald
797cbaab1e Covering the case of an entry not being found. More diary entry tests. 2008-11-12 18:48:58 +00:00
Andy Allan
f2093eb4c4 boolean correctness 2008-11-10 11:47:20 +00:00
Shaun McDonald
bf29550db8 Resyncing from head 10895:11795 2008-11-08 11:52:58 +00:00
Andy Allan
7058d836f7 use boolean flags when using boolean columns 2008-11-07 13:24:18 +00:00
Tom Hughes
6a5749c55c Hide diary entries and comments made by deleted users. 2008-10-12 18:38:54 +00:00
Tom Hughes
34189cf761 Add basic support for logically deleting a user. 2008-08-24 16:53:42 +00:00
Tom Hughes
791062569d Tidy up diary code a bit. 2008-08-24 15:12:20 +00:00
Richard Fairhurst
3b6d2c5336 edit diary entries 2008-08-21 21:40:23 +00:00
Tom Hughes
d69e9533d1 Fix thinko. 2008-07-19 23:02:04 +00:00
Tom Hughes
c933a4222c Improve error handling. 2008-07-19 22:59:59 +00:00
Tom Hughes
2cf15b549e Add support for putting the site in an offline mode where it operates
without a database but with most features disabled.
2008-06-22 12:10:32 +00:00
Tom Hughes
a1378a6bd4 Report a friendly error for attempts to reference a user that does
not exist. Closes #805.
2008-04-27 12:21:32 +00:00
Tom Hughes
5fbc8ad3f4 Send email notifications when people comment on diary entries. Closes #655. 2008-02-04 00:15:28 +00:00
Tom Hughes
691aab02fc Add pagination to diary entry lists. 2008-01-18 18:20:15 +00:00
Tom Hughes
8181cb4bf7 Add support for commenting on, and replying to, diary entries. 2008-01-17 23:12:25 +00:00
Tom Hughes
459e16861a Set MIME type correctly for diary RSS feeds. 2008-01-16 10:28:57 +00:00
Tom Hughes
c3bd1f113b Tidy up message sensitisation a bit more, and add sensitisation of
information in the diary RSS feeds.
2008-01-16 10:02:42 +00:00
Tom Hughes
d3b42fef34 Add extra validation to messages and diary entries. 2007-09-04 14:05:13 +00:00
Dan Karran
b78d25a3a8 Allow people to add coordinates to diary entries, add them to the RSS feeds and diary display pages using geo microformat. 2007-09-03 22:37:42 +00:00
Tom Hughes
deb3c74fc7 Add the author name to RSS feeds. 2007-08-14 09:22:29 +00:00
Tom Hughes
dcad29dad0 Split the rest action into sparate read, update and delete actions thus
allowing authorization to be done on a per-action basis without worring
about the method. This should make the user API work.

Also do a lot of cleanup of the controllers.
2007-06-27 17:27:10 +00:00
Tom Hughes
1017c4c39a Make per-user diary entry lists go through the diary_entry controller so
that we aren't duplicating everything in the user controller.

This also makes per-user RSS feeds work, and makes links to specific posts
work properly so that the RSS feeds behave sensibly.
2007-06-23 12:41:58 +00:00
Dan Karran
072b0717e4 Adding titles to some more pages, adding a redirect after sent messages and setting correct XML content-type header for RSS feeds. 2007-06-16 20:38:14 +00:00
Dan Karran
b4e6a72858 Adding RSS feed to main diary page, with space for lat/long info to be associated with each post in the future, though that needs adding still. 2007-06-11 21:42:00 +00:00
Richard Fairhurst
4769eec5aa TomH's patches 2007-05-28 14:54:50 +00:00
Richard Fairhurst
88a206b0f2 /diary no longer requires login 2007-05-05 15:52:11 +00:00
Richard Fairhurst
8758685a86 started work on /diary 2007-05-04 17:07:27 +00:00
Steve Coast
f498a9287a various diary bits 2007-04-07 20:12:35 +00:00
Steve Coast
f9baf5f392 diary / user bits 2007-04-07 19:50:55 +00:00