Revision: 1140Author: arantorDate: 11:14:19, 31 October 2011Message:! If the error was logged by the code itself rather than an actual error condition, identify the file it came from for the purposes of plugin detection but dump it after that to avoid clogging the DB. (Errors.php)----Modified : /trunk/Sources/Errors.php

Revision: 1142Author: arantorDate: 10:37:35, 01 November 2011Message:! The board listing had an extra quote in it when using a custom class for a given board's icon. (Boards.template.php, MessageIndex.template.php)----Modified : /trunk/Themes/default/Boards.template.phpModified : /trunk/Themes/default/MessageIndex.template.php

When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

+ Added the Thought system from Noisen.com/Wedge.org into Wedge. Oh yes. Needs a lot of work though, as it only barely works for now. (install.sql, Ajax.php, Load.php, Profile-View.php, Subs-Members.php, index.template.php, Profile.template.php, index.language.php, Profile.language.php, script.js)

+ Added a 'data' field to the members table, that will hold a serialized array of variables that are only used by the current user. Added updateMyData() function which will cater for it. (install.php, install.sql, wedge_api.php, Load.php, Register.php, Subs-Members.php, Subs.php)

+ Added silent support for specific categories when populating the JumpTo object. I use that on Noisen, but I doubt it'll be of any use to anyone else... But never say never. (Ajax.php)

- Removed default_personal_text, which never made sense to me anyway. It probably had some use, for some people... Not for us. (install.sql, wedge_api.php, upgrade.sql, ManageMemberOptions.php, Subs-Members.php, Help.language.php, ManageSettings.language.php)

* personal_text is now parsed for BBCode. To preserve performance, this is being done when writing said text. We could possibly force reparsing when doing changes to the BBCode but right now it seems all right for me to do it this way. I have a feeling this is going to come back and bite my ass... (Ajax.php, Load.php)

* Reordering classes in the main script file, so that they follow each other. (script.js)

* $context['user'] should hold more references to $user_info, instead of copies. (Load.php)

@ Note: Pete, the keys in the thoughts table probably need some fine-tuning... Also, many things are not implemented yet: re-tweeting thoughts (if we ever do that), importing tweets (same, obviously), properly re-attributing master/parent IDs when deleting members or thoughts, etc. We should also consider whether to delete the dummy 'data'=>'' definitions and really, *all* dummy empty strings when registering a member or things like that... Fields all have a default setting, no point in setting them IMO!

* Turned all numeric defaults in the installer to actual numbers. (install.sql)

* Turned a few numeric fields to use unsigned, such as one-char tinyints that wouldn't even accept a minus sign: attachments:id_folder/approved, categories:can_collapse, mail_queue:private, media_albums:featured/approved/hidden, media_items:approved/last_viewed, polls:voting_locked. (install.sql)

* Okay, that members table is really too confusing... Reordered all fields thematically (PM, login dates, group memberships...), which should at least save me from a seizure in the future. (install.sql)

* The thought system doesn't work better than last time, but at least some of its code now makes more sense. (Ajax.php, index.template.php, script.js)

! Fixed an Opera glitch where browsing with a small viewport would trigger the resize event as expected, but return wrong dimensions. It seems that it needed more time to calculate it, so I simply call the function twice. I'm not sure it's worth limiting the second call to Opera, as it could be helpful to other browsers too. (index.template.php)

* The thought system now works correctly. Yay! Click the current thought (or the Modify link) to update it. Click the New link to insert a new one. Next: start work on replying/editing replies... (Ajax.php)

@ Although I have yet to commit a working list of thoughts with edit/reply/delete links, it works on my local copy. Delete and Profile area need some refining, and we need to test the feature from beginning to end. Also in desperate need of a short string to replace the word 'Blurb' in the language file... And we need to add newly added replies to #new_thoughts. And maybe rename Thoughts to something else..? 'Words', maybe? I like the sound of it, probably because it starts with a W.

:edit: we also need to do something to ensure that reply input boxes are shown below the original thought, rather than replace it (like an edit.)

* Thought reply/edit/delete button are now generated through JavaScript, to save bandwidth. Well, on my local install it used to be done in the HTML... (index.template.php, script.js, index.member.css)

+ Forgot to add a cache flush for pretty URLs when moving topics. I'm not even sure it'll run, since I don't use the high-level cache and this is some awfully ugly raw code. Pete? (MoveTopic.php)

Revision: 1154Author: arantorDate: 00:55:08, 11 November 2011Message:- Removed the calendar. (Many files, more than I really want to list, everything in this commit is related; every place that has hooks added should also have calendar code removed in its stead.)+ New hooks (ManagePlugins.php, Security.php, RepairBoards.php, Settings.template.php, Subs-Boards.php, SplitTopics.php, Post.php)