Commit graph

572 commits

Author SHA1 Message Date
Dan Stillman
b619b2a010 Add "Create Parent Item from Selected Item" context menu option for attachments and notes -- creates a Document item based on the attachment/note title
This might eventually supersede "Retrieve Metadata from PDF", automatically recognizing PDFs and otherwise just creating parent items
2009-07-06 13:47:46 +00:00
Dan Stillman
5c8f1c5661 Fix relative customized sizing of table cells and headings 2009-07-06 12:30:51 +00:00
Dan Stillman
04aa0581be Date portion of SQL datetimes entered into date fields would be lost on edit 2009-07-06 11:42:03 +00:00
Dan Stillman
9e9f8db1df - Fix sync error when a file of an attachment with tags was in conflict
- Missed file from previous commit
2009-07-06 11:27:44 +00:00
Dan Stillman
7008fa41cf - Fix error in previous commit
- Log stack trace to error console on sync errors
2009-07-06 10:40:10 +00:00
Dan Stillman
3341336232 Fix "Sync delete log starts after last sync date in Zotero.Sync.Server.sync()" error 2009-07-06 10:20:04 +00:00
Dan Stillman
41437738b0 - Add triggers for full sync on various errors
- Add Zotero.Error(message, error) constructor to create a throwable error object with an error code
- Allow only one automatic client reset between manual syncs
- Fix "Source item for keyed source doesn't exist in Zotero.Item.getSource()" error
- Object produced by item.serialize() now contains .sourceItemKey instead of .sourceItemID
- Better error logging for missing XPCOM files
2009-07-06 10:13:02 +00:00
Dan Stillman
f9aa9383cb - Automatically run a full sync when triggered by server, which should allow for auto-correction of a wide range of remaining sync errors (though not all cause server to trigger full sync yet)
- Display exclamation mark on sync icon if a background sync fails due to a conflict (which requires manual intervention)
2009-07-05 10:48:19 +00:00
Dan Stillman
31bf663b03 Fix a serious but hopefully rare upgrade bug since Sync Preview 1 that could cause a handful of creators to be turned into either empty strings or other creators (the latter being much less likely)
For libraries that have already been upgraded, this renames orphaned item creators to "[Missing Name]"
2009-07-04 09:00:44 +00:00
Dan Stillman
46b3b857fa Expose all translator metadata properties (needed by Rintze for Scaffold 2.0) 2009-07-03 23:07:40 +00:00
Dan Stillman
5318b9293b Fix "Unexpected status code 300 in Zotero.Sync.Storage.getStorageModificationTime()" error (likely due to mod_speling) 2009-07-03 22:51:58 +00:00
Dan Stillman
3f911faa07 Add "Full Sync" option to Zotero prefs 2009-07-03 22:40:50 +00:00
Dan Stillman
34732fe78e Missed file in previous commit 2009-07-03 11:11:56 +00:00
Dan Stillman
4e3b79f9bb Metadata pane tab fixes
- Connect tabs to pane
- Allow switching between metadata pane tabs using standard Firefox shortcuts (Ctrl-Tab, Ctrl-Shift-Tab)
- Fixed squished look in Firefox 3.5
- Remove some unnecessary padding, providing a little bit more room in the metadata pane

Needs a little testing

Closes #711, Improve keyboard support
2009-07-03 11:11:13 +00:00
Dan Stillman
37abd1658a Fixes collection arrow persisting after subcollection delete 2009-07-03 09:59:34 +00:00
Dan Stillman
e636fe0f65 Fixes #1444, Attachment arrow/count persists after delete
This was fixed but then broken again for trashed items. Now fixed again.
2009-07-03 08:40:29 +00:00
Dan Stillman
2bfb5af205 Change "Documentation" to "Support and Documentation" and update URL 2009-07-03 07:04:13 +00:00
Dan Stillman
52dda8ae0b Don't throw error on database backup failure, which was breaking some upgrades for unknown reasons 2009-07-03 05:11:22 +00:00
Dan Stillman
2f2441bbf7 Upgrade TinyMCE to 3.2.5
- Added paste plugin to fix messy pastes from Word
- Added context menu plugin to allow copy/paste via mouse

Closes #1490, Upgrade TinyMCE to 3.2.4.1
2009-07-03 04:49:50 +00:00
Dan Stillman
48fc3fd742 Better debug and error messages for "not an error" messages (most of which should now be fixed via server) 2009-07-03 03:19:28 +00:00
Dan Stillman
e3e14a3f92 Extend expiry date 2009-07-02 07:57:38 +00:00
Simon Kornblith
7b25756416 use objects instead of arrays in serialize.js 2009-06-24 22:05:34 +00:00
Simon Kornblith
7da8c036d7 Use RDF store from Tabulator (http://www.w3.org/2005/ajar/tab) instead of Mozilla RDF support, along with a modified version of their RDF serializer. Our RDF export should now be much cleaner, but still backward compatible with 1.0. 2009-06-24 20:42:41 +00:00
Simon Kornblith
7b58475df7 - closes #1512, RTF Scan: Page Numbers
- closes #1513, RTF Scan: {Bib} Placemarker Flexibility
- switches citations from parentheses to brackets, to make it easier to distingush between what was reformatted and what wasn't
- adds a list of example citations to RTF scan dialog
2009-06-23 19:49:56 +00:00
Dan Stillman
6126ceb323 Use base-mapped title in progress window 2009-06-23 16:34:10 +00:00
Dan Stillman
ad01177eaf Clarify group attachment file syncing message 2009-06-17 21:13:09 +00:00
Dan Stillman
4ad2a4f5bf Fix broken documents after syncing for the first time with 2.0b5 2009-06-16 06:52:17 +00:00
Dan Stillman
e59bb3078f Speed up large SELECT operations a bit 2009-06-10 08:22:00 +00:00
Dan Stillman
03023e6265 Speed up initial items pane load (tested at ~20% faster with 5400 items) 2009-06-10 07:55:16 +00:00
Dan Stillman
ad965b1675 Fix possible "syncDeleteLog not empty and no timestamp in Zotero.Sync.delete()" error after upgrading 2009-06-10 07:28:30 +00:00
Dan Stillman
ebf6447351 Add Zotero.Translators.save(metadata, code) 2009-06-06 18:03:04 +00:00
Dan Stillman
cd1ac2e802 Use base-mapped date field in rename format string 2009-06-04 19:22:45 +00:00
Dan Stillman
63586518df - Add "Rename File[s] from Parent Metadata" context menu option to child file attachments, using extensions.zotero.attachmentRenameFormatString
- Only rename attachment title if it was already identical to filename

Somebody should probably test this.
2009-06-04 09:34:43 +00:00
Dan Stillman
9c28c6bb9c Fixes "this._IDMap is undefined" error from Embedded RDF translator 2009-06-04 08:32:26 +00:00
Dan Stillman
57fe6361d1 Remove valid username check from client 2009-06-04 00:58:50 +00:00
Dan Stillman
f681730e75 - Automatically check for and remove invalid characters in filenames on a sync upload error
- Add newline and characters not valid in XML (mostly control characters) to filename blacklist
- Strip invalid characters when user is renaming a file manually
2009-06-02 11:13:41 +00:00
Dan Stillman
5b7923c71d - Update file mod time when renaming so that new names sync
- Display file timestamp in conflict resolution box
2009-06-02 08:20:41 +00:00
Dan Stillman
51f6e1650d Better (and centralized) DOI parsing 2009-06-01 20:13:09 +00:00
Dan Stillman
6a28e8b040 - Make note font size configurable through preferences
- Make note font configurable through extensions.zotero.note.fontFamily hidden pref (for now)
- Additional CSS rules can be added through extensions.zotero.note.css hidden pref
- Give TinyMCE note body #zotero-tinymce-note id for more specific external customization
- Remove status bar position option from visible preferences...
2009-06-01 08:23:16 +00:00
Dan Stillman
68c6162fc8 - Don't use modifier keys to control tab/window opening behavior when double-clicking items list, because the modifier keys are already bound to behaviors
- Add viewOnDoubleClick hidden pref to disable double-click functionality
2009-06-01 02:53:03 +00:00
Dan Stillman
99ffa76e6f Better error message for a sync error (not yet fixed) 2009-05-31 20:19:49 +00:00
Dan Stillman
017713716e Fixes #1317, Sort triangle icon points in wrong direction in Firefox 3.1
Also fixes initial items pane sort, which was previously descending until a column was clicked
2009-05-31 07:15:55 +00:00
Dan Stillman
5ec339c9df Fix group collection sort 2009-05-31 05:57:43 +00:00
Dan Stillman
7ba742779e Fix "not a valid field for type" sync (conflict) errors 2009-05-31 03:26:23 +00:00
Dan Stillman
2d0a197293 - Remember last long tag delimiter
- Select delimiter field when switching to Split mode
- Escape special regexp characters
- Fix a window resize bug
2009-05-30 22:37:28 +00:00
Dan Stillman
4ea030b458 - Changed View/View Snapshot logic to following order: oldest PDF attachment matching parent URL, oldest non-PDF attachment matching parent URL, oldest PDF attachment not matching URL, old non-PDF attachment not matching URL, live URL, resolved DOI
- Double-clicking My Library takes you to online library
- Triple-clicking, rather than double-clicking, now expands/collapses parent items, which no one will notice or care about because I'm apparently the only person in the world who previously double-clicked to expand parent items. I feel so alone.

Closes #905, "ability to set primary attachment for the "view" button in the parent item" -- I think this is as close as we're gonna get.
2009-05-30 22:11:52 +00:00
Dan Stillman
a6478d7dd5 - Display snapshot first when double-clicking on an item, to make it consistent with the View button
- Check DOI field for View button
- Return false in Zotero.Item.getLocalFileURL() if file is missing rather than throwing error
2009-05-30 08:53:44 +00:00
Dan Stillman
211d5f3b62 - Double-clicking an item now takes you to its associated web page if there is a URL or DOI value
The tree expand/collapse behavior still happens concurrently, which is a little awkward.

- Double-clicking a group no longer expands/collapses the group while taking you to the group page
2009-05-30 08:13:04 +00:00
Dan Stillman
e305dff598 Allow possibly useless multi-character delimiters, so that ahoward stops bothering me 2009-05-29 21:38:31 +00:00
Dan Stillman
1c429dc33c Fix to prevent delimiters > 1 character 2009-05-29 21:19:01 +00:00