Commit graph

1219 commits

Author SHA1 Message Date
Dan Stillman
2cc94e07c9 Fixes #997, Zotero pane cropped (I suspect)
Missing file in my last commit, which I think is also why I wasn't seeing this problem before

Reopen if still happening in next build
2008-05-04 08:52:43 +00:00
Dan Stillman
3de1789f26 Initial Zotero 1.5 Megacommit
Apologies for the massive (and, due to data_access.js splitting, difficult-to-follow) commit. Please note that external code that accesses the data layer may need to be tweaked for compatibility. Here's a comprehensive-as-possible changelog:

- Added server sync functionality (incomplete)
- Overhaul of data layer
  - Split data_access.js into separate files (item.js, items.js, creator.js, etc.)
  - Made creators and collections first-class objects, similar to items
  - Constructors now take id as first parameter, e.g. new Zotero.Item(1234, 'book'), to allow explicit id setting and id changing
  - Made various data layer operations (including attachment fields) require a save() rather than making direct DB changes
  - Better handling of unsaved objects
    - Item.setCreator() now takes creator objects instead of creator ids, and Item.save() will auto-save unsaved creators
    - clone() now works on unsaved objects
  - Newly created object instances are now disabled after save() to force refetch of globally accessible instance using Zotero.(Items|Creators|etc.).get()
  - Added secondary lookup key to data objects
  - Deprecated getID() and getItemType() methods in favor of .id and .itemTypeID properties
  - toArray() deprecated in favor of serialize(), which has a somewhat modified format
  - Added support for multiple creators with identical data -- currently unimplemented in interface and most of data layer
  - Added Item.diff() for comparing item metadata
- Database changes
  - Added SQLite triggers to enforce foreign key constraints
  - Added Zotero.DB.transactionVacuum flag to run a VACUUM after a transaction
  - Added Zotero.DB.transactionDate, .transactionDateTime, and transactionTimestamp to retrieve consistent timestamps for entire transaction
  - Properly store 64-bit integers
  - Set PRAGMA locking_mode=EXCLUSIVE on database
  - Set SQLite page size to 4096 on new databases
  - Set SQLite page cache to 8MB
  - Do some database cleanup and integrity checking on migration from 1.0 branch
  - Removed IF NOT EXISTS from userdata.sql CREATE statements -- userdata.sql is now processed only on DB initialization
  - Removed itemNoteTitles table and moved titles into itemNotes
- Abstracted metadata edit box and note box into flexible XBL bindings with various modes, including read-only states
- Massive speed-up of item tree view
- Several fixes from 1.0 branch for Fx3 compatibility
- Added Notifier observer to log delete events for syncing
- Zotero.Utilities changes
  - New methods getSQLDataType() and md5()
  - Removed onError from Zotero.Utilities.HTTP.doGet()
  - Don't display more than 1024 characters in doPost() debug output
  - Don't display passwords in doPost() debug output
- Added Zotero.Notifier.untrigger() -- currently unused
- Added Zotero.reloadDataObjects() to reset all in-memory objects
- Added |chars| parameter to Zotero.randomString(len, chars)
- Added Zotero.Date.getUnixTimestamp() and Date.toUnixTimestamp(JSDate)
- Adjusted zotero-service.js to simplify file inclusion

Various things (such as tags) are temporarily broken.
2008-05-04 08:32:48 +00:00
Elena Razlogova
ca91b534f2 Adds series number to Chicago styles 2008-05-01 16:44:05 +00:00
Bruce D'Arcus
e1f6989995 tweaked et al more 2008-04-30 13:28:16 +00:00
Julian Onions
30164a40ec Some small adjustments. 2008-04-30 07:29:24 +00:00
Elena Razlogova
1358118ac3 Fixes extra space in some Chicago styles 2008-04-29 23:01:08 +00:00
Bruce D'Arcus
1c342acdbb changed et al rule on citations 2008-04-27 15:15:34 +00:00
Simon Kornblith
0035904e0e italicize volume and fix pages in APA style 2008-04-15 00:49:18 +00:00
Elena Razlogova
6b7165c4ff Fixes formatting for book sections with no editor in APA 2008-04-09 17:13:48 +00:00
Elena Razlogova
75049c3c5b Deletes extra title from Oxford Art style 2008-04-09 17:03:45 +00:00
Elena Razlogova
3b7733eee7 Adds Society of Biblical Literature note style; adds codec's formatting for edition to Chicago note styles 2008-04-09 16:58:06 +00:00
Elena Razlogova
9b44e37e27 Adds back deleted macro in Chicago. 2008-04-07 13:47:57 +00:00
Elena Razlogova
71839445d4 Forgot to edit macro name in Chicago no ibid style 2008-04-07 13:44:28 +00:00
Elena Razlogova
55369e7920 Closes #985: Generated Biblographies Should Not Include Two Breaks After Each Reference
Simplifies macros
2008-04-07 10:29:35 +00:00
Dan Stillman
bead92010e Regenerate Water Research style (ignore) 2008-04-02 17:19:21 +00:00
Michael Berkowitz
59cb1ba3a2 -Adds mla-italic style from forums. needs testing. 2008-04-02 16:26:52 +00:00
Bruce D'Arcus
e8f2bed56c fixed id bug 2008-04-02 16:17:04 +00:00
Bruce D'Arcus
7dff5eafcc added extra space before year 2008-04-02 16:14:11 +00:00
Bruce D'Arcus
7bb9b47c6a added 2008-04-02 16:13:20 +00:00
Bruce D'Arcus
87e8d19430 removed space after citation number 2008-04-01 17:45:55 +00:00
Bruce D'Arcus
d9625d162f added id support, switched note ferernce to underscores 2008-03-29 18:24:45 +00:00
Michael Berkowitz
43ff2623ed -Makes Nature style more macro-oriented 2008-03-27 15:41:42 +00:00
Bruce D'Arcus
666d9080da fixed problem on chapters 2008-03-27 11:35:21 +00:00
Elena Razlogova
b55cbf3608 Forgot to fix no-ibid version 2008-03-26 20:20:07 +00:00
Elena Razlogova
b90c8f1e94 Fixes issue with two spaces before labels for editor and translator in note citations for book section 2008-03-26 20:18:27 +00:00
Bruce D'Arcus
24bbef7482 removed prefix attributes on group 2008-03-26 11:00:51 +00:00
Bruce D'Arcus
c8da73bd48 fixed spurious period 2008-03-25 17:32:14 +00:00
Julian Onions
9751b5948c Updated to be more macro oriented 2008-03-25 15:46:07 +00:00
Simon Kornblith
28d91b1309 closes #969, Export not working under FF3 2008-03-25 15:35:54 +00:00
Simon Kornblith
6f3fc70bb1 closes #944 2008-03-24 19:22:52 +00:00
Simon Kornblith
a137f979e9 closes #944, WebPageDump not working in Firefox 3 2008-03-24 18:46:13 +00:00
Bruce D'Arcus
267bdca64b removed comma 2008-03-24 16:55:22 +00:00
Bruce D'Arcus
c695321a3b added (experimental) supra support 2008-03-24 16:53:50 +00:00
Bruce D'Arcus
3640ff4cbe added (experimental) supra support 2008-03-24 16:50:57 +00:00
Bruce D'Arcus
cd9aadd46f fixed dumb markup bug 2008-03-24 12:51:31 +00:00
Bruce D'Arcus
abc3d54a37 removed comma 2008-03-22 21:14:33 +00:00
Bruce D'Arcus
fe2d745fb9 b/c of fallback behavior, need a trick to not small-cap substitued case titles 2008-03-22 14:58:33 +00:00
Bruce D'Arcus
4f327c1f85 fixed spurious title in author macro 2008-03-22 14:50:50 +00:00
Bruce D'Arcus
147ad741b2 fixed dumb bug in date macro 2008-03-22 14:35:38 +00:00
Bruce D'Arcus
c152cb612b added fix for dates on article 2008-03-21 15:59:04 +00:00
Michael Berkowitz
df2a1a284d -Puts year in parentheses in bluebook-law_review 2008-03-21 14:37:43 +00:00
Elena Razlogova
2b752a05a4 Turning off sentence case in APA 2008-03-21 03:01:44 +00:00
Michael Berkowitz
e1d8c20fbd -Continues fixing punctuation and a couple of spacing issues. 2008-03-20 18:15:55 +00:00
Michael Berkowitz
7c8f4e914d -Fixes article/journal title punctuation. Hopefully. 2008-03-20 17:59:38 +00:00
Elena Razlogova
bc14a190ed Fixes sorting and bibliography display, renames macros in Chicago author-date 2008-03-16 11:46:32 +00:00
Elena Razlogova
6fe2d929ca Chicago author-date bibliography layout only calls macros now--should help with web interface for making styles. 2008-03-10 19:14:36 +00:00
Elena Razlogova
945963b40e Updates chicago-author-date to support more item types; fixes bugs in displaying presentation item type in note styles 2008-03-10 01:29:53 +00:00
mmoole
be11fa38df * localised "page" in citation - nevertheless it would be nice to have not only "page" there but also chapter etc displaying 2008-03-09 00:53:03 +00:00
Dan Stillman
c066626c25 Fix AMA URI 2008-03-08 20:37:36 +00:00
lemaxx
ab29aee285 new style 2008-03-03 14:50:42 +00:00