734 Commits

Author SHA1 Message Date
idk
302c0444cc Update sync.yaml
Some checks failed
Sync Primary Repository to GitHub Mirror / sync (push) Has been cancelled
2025-07-17 23:17:05 +00:00
eyedeekay
72669cb48b Add github sync for i2p.syndie
Some checks failed
Sync Primary Repository to GitHub Mirror / sync (push) Has been cancelled
2025-05-10 18:49:48 -04:00
zzz
b15ef7110f Fix file size output formatting since formatSize2() changed in i2p 2019-07-12 18:20:55 +00:00
echelon2
3789812b9b Snydie website update for latest version, small changes on other sites 2018-10-10 14:51:26 +00:00
zzz
992d4d1124 mime data 2017-05-17 12:59:52 +00:00
zzz
e5c2e0fa17 Change link in README to https (github PR #4) 2017-05-12 17:40:57 +00:00
zzz
9f1e7ee8d7 fix3 2016-10-19 20:24:22 +00:00
zzz
4bd3674d66 fix2 2016-10-19 19:21:56 +00:00
zzz
43a840e0ab fix 2016-10-19 19:10:23 +00:00
zzz
af52d84f91 Copy debian changes from 1.105b launchpad package
Remove hsqldb.jar, add libhsqldb-java dependency
Update java dependencies
Set bootclasspath for 1.7
Add stub-jars-debian target to use from rules
Add debian-alt dir
Update package description
Fix compiler warning
2016-10-19 19:05:48 +00:00
zzz
b13d5f0c28 Add 'Lazy Edward' default archive 2016-08-14 13:58:29 +00:00
zzz
82d0ea83a5 Revert to SWT 3.8.2 (ticket #1828, #1297)
Update distclean target
Changelog update
2016-08-09 16:37:41 +00:00
zzz
8d80772061 Update translations from tx
Add Finnish and Norwegian Bokmal
2016-08-06 13:27:53 +00:00
zzz
77e79d2743 generics 2016-06-30 14:39:21 +00:00
zzz
14bef3d6a9 more button icons 2016-06-27 01:01:07 +00:00
zzz
8cb7f0626c finals, generics, icons, overrides 2016-06-26 22:58:46 +00:00
zzz
53ada7eee0 generics,finals 2016-06-26 22:30:23 +00:00
zzz
22ce6ae433 generics, dead code 2016-06-26 21:43:49 +00:00
zzz
f76b583c9f Remove unimplemented "deniable" configuration from manage archive tab 2016-06-26 21:18:47 +00:00
zzz
3bca8a8f1c differentiate read-all from read-all-by-forum 2016-06-26 20:50:38 +00:00
zzz
dffe2ffbfd more menu icons 2016-06-26 20:50:11 +00:00
zzz
8605cfaa52 Remove unimplemented FAQ and manual from the menu 2016-06-26 18:25:28 +00:00
zzz
e631098176 Add some more menu icons 2016-06-26 16:47:30 +00:00
zzz
6ab9e9f566 ImageUtil: Add debugging for missing images
Fix typoed filename for control-syndication icon
Generics
Remove separator before Help menu item
2016-06-26 16:28:56 +00:00
zzz
53b573a783 Don't NPE if systray unavailable 2016-06-26 16:09:08 +00:00
zzz
91cb8e9b62 Fix bundle script to pick up ngettext tags again
Refresh English po file, push to TX
2016-06-22 17:01:28 +00:00
zzz
b83bd50cc0 Fix bundle script to pick up ngettext tags again
Refresh English po file, push to TX
2016-06-21 12:59:21 +00:00
zzz
362b5f3f67 changelog update 2016-06-21 12:46:44 +00:00
zzz
1e40ea2acc Opts generics 2016-06-20 22:00:24 +00:00
zzz
26d5155da9 Fix more possible sources of database corruption 2016-06-20 21:52:13 +00:00
zzz
88920f60ac tweaks 2016-06-20 17:55:36 +00:00
zzz
2f26aee816 Add icons to search buttons 2016-06-20 17:37:30 +00:00
zzz
2a5c7f8ad0 Add icons to status bar buttons 2016-06-20 17:27:14 +00:00
zzz
b84ba5c074 Consistent placement for Cancel/OK buttons
Add icons to buttons
urn:syndie:channel:d7:channel44:q4DAhruxVx2J7k18eRAjVlvCf4tE-NnuZYn4-sdtRuo=9:messageIdi1394672906375ee
2016-06-20 17:07:08 +00:00
zzz
22966bd0e1 Show message dates, not import dates, in Private Msgs button 2016-06-20 16:34:01 +00:00
zzz
b6eab3a2f7 fix syndication complete status 2016-06-20 16:15:30 +00:00
zzz
cdd7d29bea Change getUnread() to return a Set instead of a List
to eliminate O(n**2) loop in JWZ gatherThreads()
2016-06-20 15:52:53 +00:00
zzz
78394c71fd Fix Unread button, broken in 1.106b-2
Generics
2016-06-20 15:46:41 +00:00
zzz
e4e4764657 Don't let xgettext use default getString() as a tag,
it picks up some strings that it shouldn't
2016-06-20 13:13:32 +00:00
zzz
9894743a72 Add one more channel cache (hash to id)
Speed up unread channel counts in StatusBar and ReferenceChooserTree from
over 30 seconds to under a second by counting the channels from all the unread messages
Generics
2016-06-19 17:41:23 +00:00
zzz
7825158b73 Add channel hash and name caches
Speed up channel sorting in getChannels() from
8 seconds to 250 ms by getting whole maps for name and hash
Tweak channel sorting so all the channels without names aren't first
Don't query database for unused petname fields
2016-06-19 14:38:45 +00:00
zzz
00224f7829 finals 2016-06-19 14:37:52 +00:00
zzz
88b537ffac small Polish update 2016-06-19 11:04:26 +00:00
zzz
4211b25f18 generics, finals 2016-06-19 02:43:54 +00:00
zzz
22c49f85a6 Remove duplicate fields and methods from ThreadAccumulatorJWZ that shadow those in super
generics, finals, remove unneeded casts
2016-06-19 02:29:06 +00:00
zzz
3b578cd28a Use locale-based (case-insensitive) sort for forums in "all forums" tab 2016-06-18 23:29:41 +00:00
zzz
51c2067a13 Save language preference in the database 2016-06-18 23:04:18 +00:00
zzz
80da8ed646 IncomingAction:
Switch to a state enum
Add states for processing
Limit processing queue size so the fetchers don't get too far ahead
AtomicIntegers for SyncArchive counters
2016-06-18 21:56:54 +00:00
zzz
c308df6be7 Comment out unused setters in NymReferenceNode 2016-06-18 21:35:14 +00:00
zzz
88c560b28c Revert previous checkin of Hash caching in DBClient,
caused major database corruption.
I made the same mistake years ago, should have remembered.
2016-06-18 21:34:33 +00:00
zzz
09e6a7897e Change the correct thing to increase parallel fetches to 5
Use queue for Fetch
2016-06-18 18:32:45 +00:00
zzz
24d0b6eddb Add HSQLDB version to about popup 2016-06-18 17:02:35 +00:00
zzz
50e3d4888d Increase parallel fetches to 5
Locking on SyncManager archives and listeners
Use queue for DataImporter
2016-06-18 16:56:25 +00:00
zzz
39e30e5179 changelog updates for 1.106b-1 2016-06-18 13:55:43 +00:00
zzz
cf868c5b37 Dutch fix 2016-06-18 12:53:38 +00:00
zzz
5682228ca0 Dutch translation update 2016-06-18 12:48:08 +00:00
zzz
3500f8555c findbugs 2016-06-18 00:25:11 +00:00
zzz
2e60f25f0b Findbugs, generics 2016-06-17 23:55:53 +00:00
zzz
62221f012f Welcome screen: Add support for country variants in language settings
Consolidate dummy URI field
2016-06-17 23:43:53 +00:00
zzz
9b1f886429 Add support for country variants in language settings
Refresh bottom buttons when language changes
2016-06-17 20:39:26 +00:00
zzz
f93ab6405e Remove redundant casts all over
more generics
2016-06-17 18:34:51 +00:00
zzz
72cfc06be1 Remove duplicate channels from database at startup (root cause unknown)
Synchronize creation of channel cache
Generics
Use Hash.create() for caching
Use Boolean.parseBoolean()
2016-06-17 15:24:49 +00:00
zzz
44b2ec2081 New next/prev/start/end icons from famfamfam silk
Creative Commons Attribution 2.5 License.
http://creativecommons.org/licenses/by/2.5/
2016-06-16 23:43:57 +00:00
zzz
8c1a1b7c89 Ensure blank line before <p> even if no </p> before 2016-06-16 23:05:20 +00:00
zzz
6091ee14fd Message Tree size fix take 2 2016-06-16 23:04:30 +00:00
zzz
8f4eaa2282 fr and nl update 2016-06-16 23:03:09 +00:00
zzz
c9964cc933 ImageGrid is unused 2016-06-16 16:10:06 +00:00
zzz
b8bbb2c7b2 minor cleanups 2016-06-16 14:42:17 +00:00
zzz
e1eb731a65 javadoc fix 2016-06-16 14:41:23 +00:00
zzz
ef70fc05d9 move bundle-messages.sh to scripts/
We don't need hsqldb.jar for javadoc
2016-06-16 14:41:03 +00:00
zzz
32eca60d28 Fix initial width of Subject column in MessageTree 2016-06-16 14:39:55 +00:00
zzz
7b7282968e Fix torrent target
Change gpg key property to match i2p
Remove osx32 from release targets
Add logo to installer
Don't increase text size in installer, looks worse
Don't show shortcut panel in installer for non-Windows
Add Built-By to stub jars
Tweaks to download web page
2016-06-16 13:23:12 +00:00
zzz
27b6c53a9a fix NPE at shutdown 2016-06-15 21:55:15 +00:00
zzz
c9d24d8c81 Findbugs all over, take 5 2016-06-14 21:56:50 +00:00
zzz
038f665c02 Findbugs all over, take 4 2016-06-14 21:04:21 +00:00
zzz
731f61d744 Findbugs all over, take 3 2016-06-14 20:07:11 +00:00
zzz
6388a2c2ee Findbugs all over, take 2 2016-06-14 19:07:06 +00:00
zzz
d86ec278d1 Findbugs all over 2016-06-14 18:05:11 +00:00
zzz
997f7e7682 Implement arch-specific updates that include swt.jar 2016-06-14 16:03:15 +00:00
zzz
5c6635deee Prep for arch-specific updates that could include swt.jar 2016-06-13 16:27:14 +00:00
zzz
63c6082339 Add su3 plugin support
Remove mac32 build target
2016-06-13 14:52:10 +00:00
zzz
04e434609b Enable clearnet https archives (requires I2P 0.9.9 or higher)
Comment out unused main() methods
Remove syndie.killyourtv.i2p archive
2016-06-13 14:28:41 +00:00
zzz
04f367fc5f Fix NPE
(reported in syndie bugs forum Jan. 17, 2015)
urn:syndie:channel:d7:channel44:MrsSwvkmnhkgujdeWHdRVX~1VAnMM9slpHRRjDg6Szs=9:messageIdi1421552448706ee
2016-06-12 21:40:54 +00:00
zzz
e52c9598ac Update to SWT 4.5 (ticket #1297)
Update swt/build.xml
2016-06-12 20:31:31 +00:00
zzz
1dd13cb08b Update to HSQLDB 2.3.4 2016-06-12 19:22:41 +00:00
zzz
4300ba84fc Refactoring and fixes for Freenet support (ticket #1424)
patch from hikiko
2016-06-12 18:29:05 +00:00
zzz
851c720d6d Syndicator tab:
Sync buttons will sync all if none selected,
or the items selected (ticket #1233)
patch from hikiko
2016-06-12 17:54:30 +00:00
zzz
a333bf278b New Turkish translation
Translation updates: Polish, Brazilian Portuguese, Chinese
2016-06-12 16:11:55 +00:00
zzz
66f850d848 Eliminate dependency on deprecated HMAC256Generator from i2p,
copy source here and make static.
2016-06-12 16:02:56 +00:00
zzz
77a2338765 Eliminate dependency on deprecated Sha256Standalone
In db classes, we have fallback in case MessageDigest isn't cloneable,
but hopefully it always is, because it would be difficult
to do that in Enclosure. So don't bother with Enclosure yet.
2016-06-12 15:47:36 +00:00
zzz
ce0248622d Add new languages from last checkin to translation registry
Bump version
Add build parameters for java version and compiler args
Speed up build for po files
2016-06-12 15:30:28 +00:00
zzz
6339d3c8e3 Translation updates
New translations: Greek, Italian, Dutch, Brazilian Portuguese, Ukrainian, Chinese
2016-02-02 15:09:35 +00:00
kytv
1e357dd698 allow pushing without "http://" (ticket #1137) 2014-12-08 02:35:28 +00:00
kytv
ee6bf3da8d update swt (ticket #1297) 2014-12-08 02:28:11 +00:00
zzz
6d154e156e missing space 2014-11-08 12:42:14 +00:00
zzz
7380375216 Control Server:
- flush output stream (thx EinMByte https://github.com/i2p/i2p.syndie/issues/2)
  - finals
2014-09-10 19:19:36 +00:00
kytv
d3758f7121 update banlist 2014-05-27 01:50:27 +00:00
kytv
dc8564576e update default archives
disable: planb.i2p, syndie.darrob.i2p
add: archive.i2p-projekt.de:8080
2014-05-26 17:21:09 +00:00
kytv
72ec2c74d6 update URLs for the I2P, Tor, and Frost sites 2014-05-26 16:48:43 +00:00
kytv
570b327aeb change to http://mtn.i2p-projekt.de:8080/ since http://syndie.i2p2.de:8080/ isn't in use. 2014-05-26 16:43:07 +00:00
kytv
f3966f6dd0 update toolbar icons with higher quality versions courtesy of hummingbird
License: public domain per urn:syndie:channel:d7:channel44:fl69Kpyt9lGoFGjH7tfNdwkx9F1BVP2j8CZcmS4oUIQ=9:messageIdi1401065000621ee

Thanks :)
2014-05-26 16:15:07 +00:00
kytv
395dbbcb11 Updated French, German, Romanian, and Spanish translations 2014-05-26 16:09:34 +00:00
zzz
18b39e8ea3 Fix HTTPServ AIOOBE (ticket #1282)
compile-tested only
2014-05-22 23:46:47 +00:00
kytv
753c966b64 1.105b 2014-01-20 23:51:02 +00:00
kytv
63f0fdece7 update note about the HSQLDB version 2014-01-20 23:35:57 +00:00
kytv
605fcd9786 update website URL (syndie.de) 2014-01-20 23:34:52 +00:00
kytv
19a0a30255 updated French translation, new Romanian translation. 2014-01-20 23:33:55 +00:00
kytv
a435607ea8 start script fixes
Syndie expects the profile directory to be the first argument.
2013-12-03 21:28:49 +00:00
zzz
33abaee5e8 Fix NPE in SyndieTreeListener
thx covor
2013-11-18 17:28:36 +00:00
zzz
32ca03f286 Disable clearnet SSL, not available until I2P 0.9.9 2013-11-13 00:25:17 +00:00
zzz
edcbbc4b4d Update to SWT 3.8.2 20130131 2013-11-13 00:12:12 +00:00
zzz
c69e21a6c3 1.105b-0 2013-11-12 21:01:55 +00:00
kytv
75fce089e7 French, Portuguese, and Russian translation updates 2013-11-12 20:41:03 +00:00
kytv
b698840afd typo fix 2013-11-04 01:38:01 +00:00
kytv
d88beb1d4c adjust releaseNumber and buildNumber regexes 2013-11-04 01:28:38 +00:00
zzz
ad91c86bce bump to 1.104b-6-rc 2013-10-29 22:14:31 +00:00
kytv
2fcedd4ac3 Polish translations from tx 2013-10-29 02:09:58 +00:00
kytv
c40e7bcae5 French, Portuguese, and Spanish translation updates 2013-10-29 01:16:44 +00:00
zzz
c04d7a8930 Fetcher: Add support for SSL clearnet archives
(no support in HTTPServ yet)
LocalArchiveManager import cleanups
2013-10-27 13:52:08 +00:00
zzz
7bb99e3320 1.104b-5 2013-10-23 12:13:36 +00:00
zzz
7c30162f79 - Status Bar:
- Calculate pass reqd button on the job queue thread
    to prevent blank syndie window at startup.
    Caused by button changes a few checkins ago.
2013-10-23 12:10:12 +00:00
zzz
25f66ea52e - Forum Tab:
- Clean up referenced dropdown
    (still not very pretty)
- Reference Node:
  comment out main(0
2013-10-22 12:27:58 +00:00
zzz
0add115375 make gui classes pkg private where possible 2013-10-22 02:27:44 +00:00
zzz
fd3ea85252 - BrowserTab:
- Add tabHidden() so we can disable keyboard listeners when we switch tabs
- MessageViewTab:
  - Enable/disable mark read/unread based on state in PageRenderer
  - Add keyboard shortcuts for mark read/unread, previous, next, reply
    as suggested in
        urn:syndie:channel:d7:channel44:HlgdN2miqrDKBZyx1elknRzqP~SZC1nGbBGKPWxKHBA=9:messageIdi1381400773329ee
  - Re-enable unread icon
  - Have MessageView hook the DataCallback so the read icon can appear/disappear
    (still have layout problems when icon appears)
  - Use DataCallback when changing read state
2013-10-22 01:40:55 +00:00
zzz
c5fcc77336 add two week menu item 2013-10-21 21:10:06 +00:00
zzz
49928519e7 - PBE Items:
- Separate forums and messages in PBE button
  - Add button items to delete all forums or messages
  - Don't show PBE items that have been deleted
2013-10-21 20:32:11 +00:00
zzz
c818f1269f fix date 2013-10-21 18:26:22 +00:00
zzz
9a37d7e85a add French to translation list 2013-10-21 18:24:02 +00:00
zzz
bda1a09c23 SyncArchives - pull speedups:
- Only pull indexes if we need them, i.e. we are pulling a message
   that needs them. This will reduce new user startup time and
   clog the UI less.
 - Reduce default newAgeDays to 14
 - Change recent-only default to true so newAgeDays will take effect
   (although usually specified in default archives)
 - Don't sync with syndie.welterde.i2p by default
2013-10-21 18:20:56 +00:00
zzz
19b24fcba8 - SyndicatorTab:
Prevent duplicate archive after rename
  As reported at:
    urn:syndie:channel:d7:channel44:Ffn4RhCunO6gwMfAYfOoPY7FGwPNDy65dS4DyuyorME=9:messageIdi1378025493643ee
2013-10-21 16:12:47 +00:00
zzz
6b4f257ef4 1.104b-3 2013-10-21 14:17:02 +00:00
zzz
493bff542b - DBClient:
- Don't use byte arrays from JDBC for cached SimpleDataStructures,
    as that may return them to the SimpleByteCache pool and corrupt
    the database (somehow). Manifests as duplicate forums in the UI
    and duplicate channels in the DB, or channels with corrupt channelHash.
    This fix does not include a repair of the DB. Possibly to do.
  - Refactor out a delete channel by scope ID method, in case we want to
    implement a database repair.
2013-10-21 13:58:59 +00:00
zzz
982e7cd03d - SharedArchiveEngine:
- More efficient assembly of items to pull
  - Pull messages most-recent-first
2013-10-21 13:54:38 +00:00
zzz
d715ebbe50 - ImportMeta:
- Make sure autoCommit gets reset to true
  - Null ident check
2013-10-21 13:51:23 +00:00
zzz
d28e4b8352 another SQL tab tweak 2013-10-21 13:50:14 +00:00
zzz
d378cfd3c2 - SyncInboundFetcher:
- Set eepget retries to 1 (was 3)
  - Don't create 3 threads if fetching less than 3 things
2013-10-21 13:49:42 +00:00
zzz
9dd3f04476 update hsqldb version 2013-10-21 13:46:43 +00:00
zzz
ece5340c07 history for prop, 1.104b-2 2013-10-16 01:48:32 +00:00
zzz
ca002d2398 propagate from branch 'i2p.syndie.hsqldb2' (head c7a7cf55cb39f284892604d30b24f2e4a9d10d90)
to branch 'i2p.syndie' (head 09c622adac889a3bd996d08b987102b1ed659672)
2013-10-16 01:30:48 +00:00
zzz
5a858590f2 hsqldb 2.3.1 modified as follows, compiled with:
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.13.04.2)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

---------
Diff with release is from SVN base/trunk from sourceforge:

diff src/org/hsqldb/persist/HsqlDatabaseProperties.java.orig src/org/hsqldb/persist/HsqlDatabaseProperties.java
152,153c152,153
<     public static final String THIS_VERSION         = "2.3.0";
<     public static final String THIS_FULL_VERSION    = "2.3.0";
---
>     public static final String THIS_VERSION         = "2.3.1";
>     public static final String THIS_FULL_VERSION    = "2.3.1";
158c158
<                                REVISION             = 0;
---
>                                REVISION             = 1;

---------

email:

---------

From: Fred Toussi <fredt@users.sourceforge.net>
Re: 2.3.1 version wrong

You are welcome to use the current SVN /base/trunk head which has the
correction and compile the jar yourself.

We decided not to release an update.

Regards

Fred

On Tue, Oct 15, 2013, zzz wrote:
>

> ...in the sourceforge hsqldb-2.3.1.zip download.
> This must be fixed for our upgrade logic to work correctly.
> Please fix it and re-release, thanks.
2013-10-16 01:20:29 +00:00
zzz
dd883e8229 - Update to DB version 25:
- Add LOBs for attachments and pages
  - Increase length limits on cancelledURI, headerValue, and others
- Enable migration of large attachments and pages to LOBs
- Implement retrieval of pages and attachments from LOBs
- Implement getAttachmentAsStream for real (unused yet)
- Implement storage to LOBs in ImportPost
- Sleep a while before SHUTDOWN COMPACT
- Ignore SHUTDOWN COMPACT error after upgrade, just reopen anyway,
  but unlikely to work
- Use attachment size from messageAttachment table,
  not actual size from messageAttachmentData table
- Don't let one dup cancel URI make us skip processing the rest of them
- Set next version to be 1.104b in @since
2013-10-15 22:55:53 +00:00
zzz
f44acf05b7 - Shutdown compact immediately after upgrade, then reconnect,
as recommended by hsqldb
- Add code to migrate large things to LOBs, which didn't work
  in 2.2.9, due to hsqldb bug:
  http://sourceforge.net/projects/hsqldb/forums/forum/73674/topic/5519631
  LOB code disabled for now, needs testing with 2.3.1
2013-10-15 14:29:19 +00:00
zzz
24d5840eb0 SQLTab tweaks 2013-10-15 14:23:08 +00:00
kytv
fd6ed38d3b Updated French, Spanish, and Swedish translations from Transifex 2013-10-12 21:51:04 +00:00
kytv
f3acd2a443 adjust regex to handle file/$version on download page 2013-02-14 14:32:50 +00:00
kytv
38a7f98e5f accept parameters in stub script 2013-02-14 12:59:00 +00:00
kytv
10e12bd6fa merge of '39b5dbad70638ec0105995a37c7e6e5ff499331a'
and '8fbc18bc74b0507c5b238b3e849a02d020faabe1'
2013-02-13 23:43:29 +00:00
kytv
29e7361120 OSX installer fixes 2013-02-13 23:36:32 +00:00
zzz
c192d2e055 propagate from branch 'i2p.syndie.zzz.test' (head b35d1d27126e32a0efd0df48b156bded176e5d48)
to branch 'i2p.syndie' (head d351543321baccf36cf686cebb19e4e7345abebf)
2013-02-10 17:36:50 +00:00
zzz
e08aa0a3ea 1.104b-1 2013-02-10 17:36:23 +00:00
zzz
36d0336d9b move all thread-related classes to new directory 2013-02-08 15:58:18 +00:00
zzz
c563fd4f02 comment 2013-02-08 15:00:15 +00:00
kytv
5f2c732a87 remove (now) empty directory; don't try to copy files from the empty directory. (Thanks Astral2012) 2013-02-06 21:17:16 +00:00
zzz
2e5f04d1e0 - More cleanup of Importer and enhanced ImportResults by passing
missing key and PBE indications in result code
- Simplification of SyncArchive.IncomingAction using Results
- Handle and display "stub" cancel messages correctly
- Don't open message view tab for unreadable messages or stub messages
- Don't fail on duplicate cancel requests
- Fix BrowseForumTab text on forum with blank name
- Generics
2013-02-06 20:48:35 +00:00
zzz
33e78dc25f - Fix NPE when using 1.8 jar
- Fix, or maybe just move, NPE in addURI/getURI
- More db things package private
2013-02-05 22:45:17 +00:00
zzz
b6a813329f - Use DataHelper.loadProps() to deserialize properties UTF-8-safely 2013-02-05 19:31:39 +00:00
zzz
251508bac8 classpath fix 2013-02-05 14:28:54 +00:00
zzz
1e1cc84305 add script for the hsqldb database manager tool 2013-02-05 04:42:48 +00:00
zzz
af0529176e - Implement offline database backup
- Backup database before upgrading to hsqldb 2.x
2013-02-05 03:22:02 +00:00
zzz
b10affec10 - For consistency, always put cancel button to the left of OK/Save 2013-02-05 01:09:25 +00:00
zzz
ef9808a83f Syndicator:
- Move message date to date column
 - Generics
2013-02-05 00:09:55 +00:00
zzz
c6ce03637d - Improve import failure propagation and display
- Better formatting of file sizes in Syndicator tab
2013-02-04 20:38:31 +00:00
zzz
d577b27713 ImportPost:
- early check for banned target
 - generics, logging, cleanups
DBClient javadocs
2013-02-04 17:48:55 +00:00
zzz
9e2d483829 propagate from branch 'i2p.syndie' (head 97b5364e00b704dacfe9287819c638827bf5c9ec)
to branch 'i2p.syndie.hsqldb2' (head 00679e34efe34db5159150960e22d8ebdc0b5c16)
2013-02-04 15:18:49 +00:00
zzz
3f08801efe propagate from branch 'i2p.syndie' (head 97b5364e00b704dacfe9287819c638827bf5c9ec)
to branch 'i2p.syndie.zzz.test' (head 7d95464560a5021f9664c056b3d6c852db2424a4)
2013-02-04 15:18:38 +00:00
kytv
e8707f45ce syndie 1.103b 2013-02-03 19:10:33 +00:00
kytv
dbfa1b47f0 build changes
* if build number is 0 and with.revision is not set,
  set syndie.version.number to release number. Otherwise
  syndie.release.version gets set to release.number-build-(optionalRev)
* add target to update the version numbers in the Archive's index.html
2013-02-03 19:10:12 +00:00
kytv
95b8677831 update commented section of archive's index.html 2013-02-03 18:53:04 +00:00
zzz
d52a6766c7 - Clean up internal error popup
- Catch dispose errors when changing translation or theme
2013-02-03 18:47:30 +00:00
zzz
0c52eacdf5 - More DBInit cleanup and error propagation 2013-02-03 17:50:53 +00:00
zzz
2992924857 propagate errors correctly from db init/upgrade methods 2013-02-03 17:27:43 +00:00
zzz
bb4e92f857 - Simplify DB init code by renaming ddl.txt to ddl_update0.txt
and removing buildDB() method
2013-02-03 17:19:01 +00:00
kytv
7a6734135d improved getReleaseNumber regex 2013-02-03 16:50:35 +00:00
zzz
50078fc356 - Store the DB user/pw in separate fields from the nym user/pw,
to complete the fixes required by hsqldb 2.x recognizing case
  in DB login/pw.
2013-02-03 16:49:46 +00:00
zzz
a756d4de39 drop unused hsqldb_changes.txt 2013-02-03 16:02:52 +00:00
zzz
f9c2ce2ccb - Refactor db initialization and update out of DBClient to new class 2013-02-03 15:57:51 +00:00
zzz
bfc02f0a8c fix sv translation 2013-02-03 15:10:12 +00:00
zzz
cfdeb57197 missing tags 2013-02-03 14:17:37 +00:00
echelon
f42eca98f3 merge of '5ca6ff52059faaa0acd5bb342106a335618f3811'
and 'a2f1be5e2f627a4d899102ead43af02a83f80dce'
2013-02-03 10:02:08 +00:00
echelon
1ce7ef9a39 some corrections to old DE translation for better user experience 2013-02-03 10:01:47 +00:00
kytv
b5a7a89077 don't compress installer with pack200 for 1.103 2013-02-03 04:57:24 +00:00
kytv
86134c8d1a add comments to db update files 2013-02-03 04:54:43 +00:00
kytv
9efb35d24a optionally copy updated download.html & index.html to syndie webspace 2013-02-03 04:48:33 +00:00
kytv
133d9449c4 optionally make torrents in the release target using i2psnark 2013-02-03 04:45:36 +00:00
kytv
a425c022e9 add repack functionary to build 2013-02-03 04:07:40 +00:00
kytv
0804a25cd7 add Russian to transifex config 2013-02-03 01:42:07 +00:00
kytv
009624cc23 Russian, Spanish, and Swedish translation updates from Transifex 2013-02-02 22:48:57 +00:00
zzz
9d8eab24f6 - Clean up NymChannelTree forum display
- Don't spellcheck numbers
- Add some local dictionary words (TODO still doesn't like capitalized words even though they are in the dictionary)
2013-02-02 22:24:35 +00:00
echelon
600cc2909a missed some, did poupdate and now 100% german 2013-02-02 21:56:10 +00:00
zzz
dfcb049f09 2.x fixes:
- Fix message attachment size calculation breaking attachment tab in message view
- Fix query breaking NymChannelTree display
- Reduce log level in postConnect()
2013-02-02 21:20:51 +00:00
echelon
265356ba0c fix, right key, hope so 2013-02-02 19:28:30 +00:00
echelon-transport
891c636d26 100% german translation done, not perfect 2013-02-02 19:16:46 +00:00
zzz
73372b3f1f - Add hsqldb.jar 2.2.9 (same license)
- Bump build, plugin, and install requirements to Java 1.6, since the
  released hsqldb.jar is for 1.6. We could recompile it for 1.5, but not worth it.
- Include hsqldb.jar in plugin updates
2013-02-02 15:20:11 +00:00
zzz
b306fd8a79 BugReport cleanup 2013-02-02 14:12:43 +00:00
zzz
0195ca18c7 - DBUpgrade logging cleanups
- Attempt to migrate syndie.log file too, instead of just deleting it
- Add hsqldb version to bug report
2013-02-02 13:40:45 +00:00
zzz
72dd159869 First cut at support for hsqldb 2.x:
- Add upgrade class that removes GRANT ALL ON CLASS line from syndie.script
- Add user detection in connect() that works on 2.x
- Add SET FILES BACKUP INCREMENT TRUE for 2.x to speed shutdown
- Compact DB after upgrade

Also:
- Prevent dup connections, connection leaks, and changing login without disconnecting

Todo:
- Better handling of upper/lowercase login/password issues,
  as database logins were mapped to upper case but nym logins
  were at lower case. Fix reconnect()
2013-02-02 02:42:09 +00:00
zzz
4354d03f75 - Hide external link buttons for internal and external browser as they are neither configurable nor safe
1.102b-13
2013-01-31 17:05:33 +00:00
zzz
90f2124cfe move Timer to util/ 2013-01-30 16:23:09 +00:00
zzz
d4fb98d7e0 Spell checker:
- Re-enable so it can be improved
- Add local word list
- Close stream after readin
- Fix spell replace deleting next char
2013-01-30 16:18:30 +00:00
zzz
aadbb9be25 ReferenceChooserTree:
- Make bookmark subfolders doubleclickable for expand/collapse
  - Use folder icon for bookmark subfolders
  - generics
2013-01-30 01:43:48 +00:00
zzz
6f7a70c8a4 use getText in super 2013-01-30 01:42:58 +00:00
zzz
df56d477f1 finals 2013-01-30 01:42:24 +00:00
zzz
fd28120b0d use getText in super 2013-01-29 12:37:39 +00:00
zzz
4531169104 - Name tabs by filename in MessageEditor
- Disable remove page and remove attachment icons when not valid
- Message editor button text cleanup
2013-01-28 17:30:04 +00:00
zzz
00e7270140 - Add language selection page to Wizard
- Repopulate Browser menu after language change
2013-01-28 15:24:09 +00:00
zzz
113e10e270 doubleclick on left headers to expand/collapse 2013-01-27 22:05:57 +00:00
zzz
cb03bbb764 - Shorten public/private reply menu items and make consistent
- Disable public reply to a private message in menus
- Hide unimplemented 'delete read messages' and 'delete all messages' menu items
- Don't display 'last post' times in the 'find forums' popup when we only store dates in the DB
- Rename browse-all-forums tab
- Add another Composite to AttachmentPreview in prep for showing text attachments too
2013-01-27 21:48:35 +00:00
zzz
af193c9aff fix plugin versioning 2013-01-27 17:42:16 +00:00
zzz
69ee0eaab8 - Enhance external URL warning
1.102b-12
2013-01-27 17:27:17 +00:00
zzz
b6a3d5d6b8 - Tag more strings
- Refresh English po file, 88 new strings
2013-01-26 16:08:30 +00:00
kytv
1a39ef13c5 merge of '03bfae634968a475d5a4f8c46e380cdc8657b4d9'
and '5a24ff21c9fe4b110d31d20b17e2c3fa108f0905'
2013-01-26 15:02:26 +00:00
zzz
da03ee62b4 - Tag PageRenderer menu for translation
- Hide most of PageRenderer menu when used in post preview or PageRendererTab/HelpTab
- Cleanups of listener classes in PageRenderer
2013-01-26 14:55:29 +00:00
kytv
349e60e097 Russian translation from Transifex 2013-01-26 14:55:28 +00:00
kytv
2ec842d8f3 html fixes 2013-01-26 14:54:07 +00:00
kytv
44592f2d7f * add test scripts borrowed from I2P
- checkxml requires tidy for HTML files and xmllint for XML. Tidy is used
    because it will exit non-zero on parsing errors while xmllint will still
    exit 0 if the HTML files contain errors. xmllint "does the right thing" for XML.
  - checkpo requires msgfmt
* add testscripts build target
2013-01-26 14:53:38 +00:00
zzz
c28ff32746 add margins around images in PageRenderer 2013-01-26 12:50:02 +00:00
zzz
0511668fba icon and button tweaks for consistency 2013-01-26 03:13:01 +00:00
zzz
a1848df75d add margins on PageRenderer 2013-01-26 02:02:43 +00:00
zzz
4d22fc96fb - new Integer -> Integer.valueOf; ditto Long
- HTMLStyleBuilder generics and finals
- PageRenderer generics
2013-01-26 01:12:32 +00:00
kytv
ff76c28357 build changes
- 'maintainer' target (outputs help)
- 'release' target (build, sign, checksum, and update site (if configured))
- rename 'dist' to 'singlejar'
- jar-cli: compile cli (doesn't require swt)
2013-01-25 21:24:48 +00:00
kytv
9f23c2036e javadoc fixes 2013-01-25 21:19:58 +00:00
kytv
9fa610b472 fix build 2013-01-25 17:20:51 +00:00
zzz
dd81a71c1c - Move HTML-handling classes to new directory, exclude from cli jar 2013-01-25 17:05:59 +00:00
zzz
7e0b987cee - Fix problems with caching nym prefs 2013-01-25 17:05:01 +00:00
zzz
6cda5d9c21 - Try SWT.NONE browser too
- RealBrowserTab error handling fixups
- BrowserTab javadocs
2013-01-25 16:10:52 +00:00
zzz
cf13505eb7 fix wizard icon, minor cleanups 2013-01-25 16:10:15 +00:00
kytv
a45452a32d typo fixes (thanks Aemon) 2013-01-25 14:37:36 +00:00
zzz
0911a45ff0 add go button 2013-01-24 23:14:15 +00:00
zzz
29c900ff9c buttons etc in browser 2013-01-24 22:54:08 +00:00
zzz
7b02e90aa0 try both webkit and mozilla, then put up an error message if neither worked 2013-01-24 20:10:01 +00:00
zzz
787005bef1 - Add experimental in-Syndie web page viewing with SWT Browser, using I2P proxy 2013-01-24 15:23:52 +00:00
zzz
9042938caa - Support opening external links in browser
- More SyndieURL parsing lenience
2013-01-24 13:49:29 +00:00
zzz
de91271d2d refactor StartupListener out of StartupPanel 2013-01-24 12:09:34 +00:00
zzz
bfbe9391af refactor string methods out of Constants 2013-01-24 12:02:54 +00:00
zzz
f530a4039d Rename SWT license file in plugin
1.102b-11
2013-01-23 23:58:40 +00:00
zzz
58683df05b bundle target fixes 2013-01-23 15:37:28 +00:00
kytv
92d01e4cfe German, Spanish, and Swedish translations from transifex 2013-01-23 14:55:18 +00:00
zzz
76c536e37d - Move PushStrategy and PullStrategy out of SharedArchiveEngine to their own java files 2013-01-23 13:54:19 +00:00
zzz
1a2eab684c Build win64 and 32/64 mac installer plugins 2013-01-23 13:22:21 +00:00
zzz
64532f6ce8 - Hopefully fix error on view plain text on windows
urn:syndie:channel:d7:channel44:SjwUPvsAw05RyYIHuXy8xTEKKUq2rsb8Qu8zUDXoQ7I=9:messageIdi1358598031410ee
2013-01-23 12:40:27 +00:00
zzz
9c34831c72 - Fix listynms hanging CLI 2013-01-23 12:40:00 +00:00
zzz
4df12b0830 - Fix page down button in last page of message switching to blank thread tab 2013-01-23 12:39:33 +00:00
zzz
808aa652d4 - Fix crash in some locales caused by SimpleDateFormat abuse 2013-01-21 23:46:25 +00:00
zzz
4de42184a7 Attachments:
- Fix bug requiring click on attachment 1 to load any attachment
  urn:syndie:channel:d7:channel44:SjwUPvsAw05RyYIHuXy8xTEKKUq2rsb8Qu8zUDXoQ7I=9:messageIdi1358702772944ee
- Don't load attachments into memory unless displayable
- Don't keep attachment data in memory; reload if saving
- Set attachment tab text to file name
- Improve attachment tab layout
2013-01-21 22:27:36 +00:00
zzz
01414b38a5 - Add support for 1- and 2-arg gettexts
- Add better quote message, tag it
- Add attachment count to ThreadReferenceNode
- Show attachment icon in MessageTree for those with attachments
- Clean up tooltips for links
2013-01-21 17:27:19 +00:00
zzz
5dd8c3a5bf refactor date/time utils to their own class 2013-01-21 15:10:48 +00:00
zzz
4df5565101 MessageTree:
- Add expand/collapse-all buttons and menu items
  - Add icons to some buttons
  - Enable/disable expand/collapse-thread/all-buttons/menus as appropriate
  - Better layout of buttons
  - Spinner tweaks
  - cleanups, finals
- Set icon on MessageView reply button

1.102b-10
2013-01-21 14:44:18 +00:00
zzz
5c53460660 - Set MessageEditorTab text to the subject
- Warn if no subject on post
2013-01-20 23:25:24 +00:00
zzz
e75352617b - Fix language picker menu 2013-01-20 21:25:25 +00:00
zzz
c064988f1b - Add warning about CLI + httpserv 2013-01-20 21:24:39 +00:00
zzz
0683ea5339 - Make quoted text background lighter 2013-01-20 21:23:50 +00:00
kytv
fb970d6a0a To complement 94ad019f79017fe53ba972c13142df7018adcc66, default to pulling
recent messages
2013-01-20 18:16:13 +00:00
zzz
f09667e28f - Fix StyledTextChooser initial color button colors, and showing gray-on-gray sample text when changing styles 2013-01-20 15:24:49 +00:00
zzz
3e54f7b1ee fix disable image NPE (again) 2013-01-20 14:36:21 +00:00
zzz
c25c2efe8b change reference tab icon to the link icon 2013-01-20 14:35:45 +00:00
zzz
fc4ac8ca4c - Fixed Syndicator NPE urn:syndie:channel:d7:channel44:SjwUPvsAw05RyYIHuXy8xTEKKUq2rsb8Qu8zUDXoQ7I=9:messageIdi1358600767303ee 2013-01-20 14:34:52 +00:00
zzz
b001d2628f - Restrict permissions on .syndie dir
- Add way to delay startup to attach debugger
2013-01-20 13:22:40 +00:00
zzz
1f19681d41 - Get more Browser menu processing off the UI thread
so the UI will be respond faster at startup
2013-01-20 13:20:17 +00:00
zzz
dd441ac00b - Concurrent JobRunner queue
- Increase JobRunners to 4; decrease SyncOutbundPushers to 2
2013-01-20 13:16:57 +00:00
zzz
a8f3b0c729 - Add icons to MessageEditor tabs 2013-01-20 13:15:56 +00:00
zzz
a935f8ffe1 - Get more ReferenceChooserTree and StatusBar processing off the UI thread
so the UI will be respond faster at startup
2013-01-20 13:14:35 +00:00
zzz
fdfb321048 1.102b-9 2013-01-19 22:44:39 +00:00
zzz
690a4394cf - Change default pull policy from 6 months to 2 months
- Clear 'search term' and enable/disable button automatically in NymChannelTree
- NymChannelTree spacing tweaks at top
- New truncate utility method
- ColorUtil cleanups, generics
2013-01-19 20:31:43 +00:00
kytv
c74e76bc91 explicitly specify the type of source 2013-01-19 16:31:34 +00:00
kytv
21dca16a89 merge of '1fe1697dfbeafa15e562177bdf3f533b1983c551'
and 'df7d97191b0fae4c9fb5e86019f55e3c65951e99'
2013-01-19 16:23:38 +00:00
zzz
68e2e724a0 log tweak 2013-01-19 16:21:13 +00:00
zzz
6c5ddb66ff preliminary support for standard URI query encoding 2013-01-19 16:21:01 +00:00
zzz
faa1a8c0ca ngettext fixes 2013-01-19 16:20:35 +00:00
kytv
3c38f5b890 Add transifex config file 2013-01-19 16:07:40 +00:00
kytv
28e9d718ac - make gettext optional
- minor tweaks to the header of the po (probably not important)
2013-01-19 15:42:31 +00:00
zzz
5026ba6dd1 - Finish tag cleanup - capitalization, symbols, spelling, spaces, consistency
- Add ngettext
- Fix translation for 'reflow' in wizard
- Update English PO file, ready for translation
2013-01-19 15:15:55 +00:00
zzz
8385ca6a7b - fix in-progress fetch count for unknwon reply key
- Limit browser tab name length
- Note meta fetch/pulls on syndicator tab
- CLI help cleanup
2013-01-19 01:45:02 +00:00
zzz
649e1e54bf javadocs, generics, cleanups 2013-01-19 00:17:56 +00:00
zzz
da6e709f9a fix new db startup 2013-01-18 23:44:50 +00:00
zzz
cb24b893fe spacing 2013-01-18 22:31:34 +00:00
zzz
86179d1c8f - cleanups, statics, finals, javadocs 2013-01-18 22:29:12 +00:00
zzz
83e03f4a1a improve keylist CLI 2013-01-18 22:28:52 +00:00
zzz
3894b0aff4 - Add up/down arrow support to TextUITab
- Fix coloring issues in TextUITab
- Increase buffer size in TextUITab
- Fix command history issues
2013-01-18 19:56:37 +00:00
zzz
64a76d5d12 - More CLI help, add aliases and shortcuts to menus 2013-01-18 15:42:50 +00:00
zzz
cddeae25ee - Refactor CLI
- Add help for CLI commands
- Add help for missing TextEngine commands
2013-01-18 14:50:09 +00:00
zzz
85a5c1b90a cli menu tweak 2013-01-18 12:46:40 +00:00
zzz
f816269e80 - More CLI help sorting
- Fix more commands that don't call commandComplete()
- More TextUITab improvements
- Fix keyimport NPE if missing arg
2013-01-18 12:31:46 +00:00
zzz
a3ca338179 - Add CLI commands to CLI help
- Sort help where possible
- Fix CLI recovery after RuntimeException
- Better formatting of multiline messages in TextUITab
2013-01-18 00:20:46 +00:00
zzz
3e359e73cd The two python script attachments from MOSFET's control server patch:
urn:syndie:channel:d7:channel44:kyzuHHandjbHiFKq~wXVK60~XTlSDff5QNjbzuoefwA=9:messageIdi1238766873042ee
2013-01-17 23:07:53 +00:00
zzz
11543281dd - Enclosure finals and clean up streams correctly when loading/storing Enclosures 2013-01-17 22:55:22 +00:00
zzz
63446cf6c7 - Add CLI 'no such menu' error
- Fix reimporting of messages with unknown read/reply keys
- Fix log spamming from fetcher and pusher
- Fix classes in Desktop causing dependency warnings
2013-01-17 20:00:51 +00:00
kytv
7841d015ce add a few more 'bad' forums to the default banlist 2013-01-17 19:25:48 +00:00
zzz
0aa7426f3f - Change SQL, Log, and UI tabs to monospace font
- Fix bug closing forum tab after banning it
- Move some methods from BrowserTab to BaseComponent
- Remove debug logging in SpelUtil and in banning
- Show completed count for fetches/pulls
2013-01-17 17:29:41 +00:00
kytv
abf53ec957 fix last check-in 2013-01-17 15:40:34 +00:00
kytv
6740d19209 Add my archives to the defaults 2013-01-17 15:37:50 +00:00
zzz
c77ebf7f56 - Implement backup of nymkeys and meta.syndie at db creation
- Fix UI hang in 'meta'
- More excludes for syndie-cli.jar
2013-01-17 13:22:12 +00:00
kytv
caa63c98ac merge of '276a24061509fd8816501e9b0d1ae311795fa9c3'
and 'bcf26f21a46170049206a6d7d3b803180fe9b652'
2013-01-17 02:38:38 +00:00
kytv
d68b4242b0 correct source tarball name
document ctrlserv option
2013-01-17 02:38:30 +00:00
zzz
a090572c83 1.102b-8 2013-01-17 02:36:16 +00:00
zzz
dd0a16577c - Implement importing of keys and posts at db init time
- Add ident hash output to dumpsyndie (Enclosure) output
- Revert manual edit of import_meta1.syndie in 59f68622c12d601e7e0a37d33576e17877c07b35
  that corrupted it
2013-01-17 01:58:47 +00:00
zzz
bdce4b5b5d - Trap 'logout' in TextUITab
- Disable more buttons when Syndicator is empty
2013-01-16 20:38:39 +00:00
zzz
db6180199d add newdatabase script 2013-01-16 20:34:53 +00:00
zzz
3747b7e35f fix bold and italic on default font 2013-01-16 19:02:17 +00:00
zzz
c7e23316d7 cleanups 2013-01-16 17:51:54 +00:00
zzz
d933e2db93 better handling of syndicator tab when no archives defined 2013-01-16 17:46:42 +00:00
zzz
0c78667dbd - Enable cancel and close on wizard
- focus on finish button on last panel
2013-01-16 16:34:38 +00:00
zzz
612adab9c0 move location of default scripts in jar 2013-01-16 16:01:09 +00:00
zzz
60490da6ee fix restoration of previous tabs at startup 2013-01-16 15:10:44 +00:00
zzz
f6176fbd87 - Another fix to ensure a tab is shown at startup
- Add "help" URI type
- More lenience in URI parsing
- New HelpTab, work in progress
- Comment startup scripts
- Tag some tab tooltips
- Javadocs and cleanups
2013-01-16 14:23:48 +00:00
zzz
bc90c5ad12 cleanups 2013-01-16 00:36:42 +00:00
zzz
b1b1d76df8 possibly fix NPE from null archive name 2013-01-16 00:36:26 +00:00
zzz
9b94ac42e5 - Display dates by message ID (not import date) by default
- Fix createEdition to always create a date in the recent past,
  unless the replied-to date is in the future.
  Ensure later than replied-to date if a reply.
  Also prevent looping forever on bad dates.
- Show help popup by default after posting message
- cleanups
2013-01-16 00:35:32 +00:00
kytv
31b8171151 minor build tweaks 2013-01-15 21:37:09 +00:00
zzz
e9c3473743 SyndieURI cleanups, more lenient parsing 2013-01-15 19:58:33 +00:00
kytv
0754e02fae build:
- make fonts a little larger (suggested)
- reorder deps in pkg-all target
- create launcher shellscripts for Linux

docs:
- update bin/readme.txt
2013-01-15 19:06:50 +00:00
kytv
1f838ff7e4 add missing licenses
correct outdated info/instructions
2013-01-15 15:21:40 +00:00
kytv
783f09a52d remove unused servlet.jar 2013-01-15 15:16:37 +00:00
kytv
06c5cf3982 update doc/web
- fix broken links to *.i2p.net
- update build targets
2013-01-15 15:16:15 +00:00
zzz
73dc548313 - Fix NPE when viewing URI with a page number and the message is unknown locally
- Add stack trace to internal error popup
2013-01-15 14:27:51 +00:00
zzz
6eaef96b13 suppress remaining deprecation warnings 2013-01-15 13:11:58 +00:00
zzz
e1d887aaf2 Apply patch from MOSFET:
- added ctrlserv command to launch control server listener
- corrected error in manual.html

===========

Control server patch
Posted by MOSFET in Syndie dev on 2009-04-03
page 1 attachment 1 attachment 2 attachment 3

Attached is a patch which adds a programmable interface to Syndie. It makes the 
text UI available via TCP. This patch will be included in the next release I 
prepare. There's no reason to do a binary release just for this since it's only 
of use to a developer.

The patch and two example Python scripts are attached to this message. The 
first example retrieves and prints the list of forums/identities known to the 
Syndie instance. The second creates a message.

The control server is launched from the text ui using this command:

ctrlserv [--port $portNum]

The default port is 10111. The control server will listen only on the loopback 
address (127.0.0.1). There is no security implemented. Anyone who can connect 
to the port will have complete access to impersonate you, read any messages you 
are authorized to read, etc.

You can connect with telnet to test. When you're done issuing commands, just 
close the connection. There is no quit command. The server will accept multiple 
concurrent connections. Because of some idiosyncracies with the Syndie core 
architecture, you'll find that the response messages for any command you issue 
will be transmitted to all open connections (plus the text UI tab if it's 
open). Syndie behaves as if there were only one client. For this reason it 
isn't practical to use multiple concurrent connections. For example creating 
more than one message at a time in separate control connections will fail.

When I first started working on this, I decided to embark on a huge refactoring 
job to clean up the UI infrastucture and remove all these idiosyncrasies. That 
was too much work involving too many changes to unfamiliar code and significant 
repurposing of some core Syndie classes. This implementation, by comparison, is 
small and simple and took almost no time to put together. Since it's my opinion 
that a programmable Syndie interface isn't actually of any value for the 
overwhelming majority of users, this is the correct amount of effort to expend 
on this task. I wouldn't have bothered at all except that I need it myself.


http://mosfet.i2p/urn:syndie:channel:d7:channel44:kyzuHHandjbHiFKq~wXVK60~XTlSDff5QNjbzuoefwA=9:messageIdi1238766873042e4:pagei1ee
2013-01-15 13:10:57 +00:00
zzz
f1e40b659b cache PublicKey and SigningPublicKey too 2013-01-15 02:27:27 +00:00
zzz
71a1161213 - Use cached hashes for all but authorization and authentication hashes 2013-01-15 02:18:11 +00:00
zzz
eb34749f4c - Put icons on MessageViewBody tabs
- Fix NPE on right-click disable images in PageRenderer
- Set italic font for unspecified author and forum on MessageView
- Don't show unread flag on MessageFlagBar, since you're looking at the message
2013-01-15 02:02:25 +00:00
zzz
c81abdae81 fix ManageForum avatar display 2013-01-14 23:12:14 +00:00
zzz
39c2def393 Enclosure.main improvements (decode body if body key available) 2013-01-14 22:31:08 +00:00
kytv
dd9e6f0b11 create table in the db that was missed in db version 23. bump db rev to 24. 2013-01-14 19:28:07 +00:00
zzz
dfe64fb7d8 1.102b-7 2013-01-14 16:20:38 +00:00
zzz
ba3299da4a - 3rd try to fix repeated-push problem. Process and copy the
metainfo when pushed to the server if the file does not exist,
  even if it's in the database.
2013-01-14 15:47:34 +00:00
zzz
498a3bc443 - Fix class cast error on cancel lists
- Change rebuild time back to 1 hour from 4
- Don't process pushed meta if edition is the same
- finals in ChannelCollector
2013-01-14 15:15:58 +00:00
zzz
6981d4426c simple test scripts 2013-01-14 13:33:11 +00:00
zzz
9e82761409 misc. cleanups 2013-01-14 13:30:31 +00:00
zzz
fab37a62e7 - Fix avatar chooser menu if images are not displayed
- Randomize default avatar in wizard
2013-01-14 13:28:39 +00:00
zzz
0e87705764 SQLTab improvements like previously in TextUITab 2013-01-14 13:27:44 +00:00
zzz
7a10b209ab - Spiff up Enclosure.toString()
- Add Enclosure.main() to dump .syndie files
- Clean up unnecessary initializers in data constructors
- Javadocs and finals
2013-01-14 13:25:56 +00:00
zzz
d5f9ae7c66 - Another fix for repeated pushes (server side) - save pushed meta file
to archive if it was known in db but missing in archive
2013-01-13 20:26:58 +00:00
zzz
0abe45ebe6 dont display hash for missing description 2013-01-13 20:22:41 +00:00
zzz
64815fa6d6 - Add more menu accelerators
- 'Open Syndie URI' popup error handling
- Yet more standardization of forum/author, in MessageTree
- More tag cleanups, generics
2013-01-13 19:23:30 +00:00
zzz
66baa07feb - Fix bug in dependency checking for pushes, did not push forum
metadata when required, thus causing messages in that forum to
  get repeatedly pushed
2013-01-13 19:21:51 +00:00
kytv
71c14915c2 build:
- Add OSX installers (previously there were just app bundles)
- -Dwith.revision=true will build installers/tarballs with the revision in the name
- add aliases for targets
- fix desktop launchers in Unix
2013-01-13 18:45:51 +00:00
kytv
23a19fde9e update bundled hsqldb to 1.8.1.3. No license changes. 2013-01-13 18:24:23 +00:00
zzz
8fd129bb58 - Fix decoding of password-protected messages. ImportPost tried to delete
the message before reimporting, but that only marks the deletionCause in the DB,
  so the INSERT would fail. Instead, do UPDATE.
  TODO: StatusBar isn't updated
  TODO: Undelete passphrased messages as a one-time fix?

- More status bar improvements for buttons with only one item

- cleanups, finals, javadocs
2013-01-13 02:03:13 +00:00
zzz
4a534b6311 change default display filter from 6 months to 10 years (i.e. all) 2013-01-13 02:02:02 +00:00
zzz
f178ec266d 1.102b-6 2013-01-12 18:59:45 +00:00
zzz
1be1f24a9b - Fix sync-completed tracking which could prevent future pushes
- Fix multiple pushes of the same data after a not-modified index fetch
- Fix display for fetch index that has never succeeded
- Fix format of last-modified header to use strictest RFC 822
- Fix zero-arg SyncArchive.main()
- Don't call SyncListeners for added unless really added
- Revert shuffling of push/pull order with a single archive,
  as it made the UI messier, debugging harder, and may have
  other side effects
- Tweak to date display if <= 0
- Debug logs for time spent in SyncArchiveEngine
- Javadocs, comments, cleanups
2013-01-12 17:59:22 +00:00
zzz
5847516b89 fix links to external packages in javadocs 2013-01-12 01:17:49 +00:00
kytv
74091f0aa6 automatically fetch swt in the plugin target 2013-01-11 22:01:05 +00:00
kytv
b94c9b0865 more osx fixes:
- actually include i2p.jar (!)
- actually include i2p.jar in the classpath (!!)
- force plist and startsyndie.sh to be left aligned (the xml looks daft but the resultant files look good)
2013-01-11 21:07:32 +00:00
kytv
2d9c82154d hopefully fixing the last plist fix 2013-01-11 20:31:33 +00:00
kytv
95d1c0901d osx related changes per zab's advice 2013-01-11 19:52:05 +00:00
kytv
6f4f2df377 merge of '0fc95ba421606352b6aef411dd65cc0bfe9e3499'
and '3b20a1c41338e3fe882867e52a86c36acff45c2f'
2013-01-11 19:00:00 +00:00
kytv
f7ddbf5713 fail build immed. if deps not found 2013-01-11 18:59:32 +00:00
zzz
056f4a3380 1.102b-5 2013-01-11 18:49:03 +00:00
zzz
f717c2b51a - Exit/quit from the UI tab will close the tab instead of hanging things.
- Add initial help message to UI tab
- Force UI tab focus to command field
2013-01-11 17:50:39 +00:00
zzz
a9901f2129 - Make FireSelectionListener abstract
- Go directly to draft when clicking on drafts button if only one
- More tag cleanup
- Add full hash to banned popup (again)
2013-01-11 16:21:26 +00:00
zzz
47a60a7428 - Use monospace font in PageRenderer.renderText() and in MessageEditor
- Disable PageRenderer view as HTML menus when text only
- Fix PageRenderer rendering both text and html in parallel when selection changes
- Fix monospace and log fonts loading correctly
- Fix bug resetting theme and saving it
2013-01-11 14:52:28 +00:00
kytv
45d4689715 a few more build changes
- prefex targets that users shouldn't run manually with - (generally any that
   only set properties)
-  make source-tarball create a tarball without '.orig'
-  add 'debian-tarball' to create a more debian-friendly tarball.
-  don't add revs to the extended version unless op-ed in
2013-01-11 12:31:08 +00:00
kytv
852cae0f19 * correct typo in runhttpserv.syndie
* update bin/readme.txt
2013-01-11 10:33:09 +00:00
kytv
8f8bcfc795 copy uninstaller icon in the installer macro 2013-01-11 10:27:25 +00:00
zzz
96ad3bad19 - Set default in FontDialog
- Fix bugs saving/restoring font changes
- Fix dup font loading
- Javadocs and cleanups
2013-01-11 04:56:41 +00:00
zzz
d8ea5f0b92 - Rework Theme to handle changing fonts
- Add font picker. Doesn't yet correctly save setting across restarts.
2013-01-11 00:59:37 +00:00
zzz
f115fafd17 ellipsis out of tags 2013-01-10 21:38:58 +00:00
zzz
4d804fa383 colons out of tags 2013-01-10 21:23:14 +00:00
zzz
9ebca477bc - Centralize generation of displayed name/hash for consistency
- Pull mnemonics indicator for MenuItems out of tags.
  Since the items will be translated, it isn't practical to have them
  inside the strings.
2013-01-10 20:59:19 +00:00
zzz
64745b1e2b - Fixes for banned channel display and management 2013-01-10 19:45:56 +00:00
zab
3638dcb6e9 merge of '764ffc4ee86f61ad3953c8f946e1d82336ebff06'
and 'ff633022d3352d169c7ae09555d6b3ccdfb2f993'
2013-01-10 15:45:37 +00:00
zab
6c2e19dc11 Do not treat cli parameters as archive locations in the test ui 2013-01-10 15:45:30 +00:00
kytv
5f7525f710 missing file 2013-01-10 15:42:02 +00:00
kytv
c9b772e9aa installer support and related targets/macros 2013-01-10 15:33:00 +00:00
zzz
514466beb9 - Fix NPE in desktop message editor
- Don't maximize desktop on startup
- log cleanup
- finals
2013-01-10 15:08:10 +00:00
zzz
7d5b37c34a - Move po template to english, run poupdate 2013-01-10 14:06:18 +00:00
zzz
3f22e7aa7e - Add bundle and poupdate targets
- bundle-messages.sh fixes
2013-01-10 13:58:44 +00:00
zzz
fef2042963 - Manual fixups after automated conversion from 2-arg to 1-arg getText calls and removal of
key definitions.
- Add _x() static tag method
2013-01-10 13:49:37 +00:00
zzz
fbb6998397 - Automated conversion from 2-arg to 1-arg getText calls and removal of
key definitions. Manual fixes to follow.
2013-01-10 13:16:29 +00:00
zzz
650a42c8b8 - Convert TranslationRegistry to use I2P's Translate class and po files
- bundle-messages.sh fixup for build path changes
2013-01-10 11:33:57 +00:00
zzz
f06f292a27 - More forum and author display consistency
- icon spacing
- debug log cleanup
- finals
2013-01-10 01:12:42 +00:00
zzz
446d3b1c84 - bundle-messages.sh and an initial messages_de.po file for further testing.
The code doesn't support po files yet, only properties files, and it has
  all the message IDs that have to be stripped out.
  No ant target yet either.
2013-01-10 01:08:06 +00:00
zzz
1480efa5c5 add a random number to the default user name in wizard 2013-01-10 01:07:42 +00:00
kytv
cf949ba75b actually check if launch4j is available. *sigh* 2013-01-10 00:07:22 +00:00
kytv
40298bf3b1 * new targets and changes to existing targets
- pkg: create jars and copy jars and docs to ./dist
- pkg-exe: same as pkg but uses launch4j to wrap the jar files into
  Windows-friendly EXE files if launch4j is available
- jar: build syndie.jar in ./build instead of dist
* two new helper macros: wrap-to-exe and make-stub-jar
2013-01-09 23:51:38 +00:00
kytv
2e64904da0 typo fix 2013-01-09 18:22:43 +00:00
zzz
ddaeaa0711 - Fix NPE in login script when using TextUI as main class
- Fix another early NPE in CLI
2013-01-09 18:09:40 +00:00
zab
a80fbe8e9c remove double ;; 2013-01-09 17:44:00 +00:00
zzz
bf09ae6da7 - Localize filter date display
- More lenient parsing of filter dates
- Label import date on message view
- More tweaks of filter date options
- Disable MessageView buttons when no messages displayed
2013-01-09 17:03:01 +00:00
zzz
645cc28d31 tweaks 2013-01-09 17:00:47 +00:00
zzz
9b824ae7eb SharedArchiveEngine:
- Fix msgs not being pushed due to internal/external message ID confusion
    introduced in 88f900b0c9dba3020b08deb94950b1776c437b4e
  - Don't sort before processing since we are shuffling later
DBClient:
  - javadocs for internal/external messages
  - Catch strange error reading nym keys from db
1.102b-4
2013-01-09 14:09:09 +00:00
zzz
70661bd50d format date for pushes too 2013-01-09 14:07:51 +00:00
zzz
a09d94daa6 cleanup 2013-01-09 03:51:11 +00:00
zzz
d624f3e0a8 fix serving static web pages thx kytv 2013-01-09 03:50:50 +00:00
zzz
63fdf1bca9 add spacing to message flag bar icons 2013-01-09 03:50:19 +00:00
kytv
a7d15a112a typo fixes 2013-01-09 03:01:22 +00:00
kytv
18dcd8812f * complain during build if swt.jar cannot be found and echo an informative message
* adjust preppkg targets
* fix dist
2013-01-09 02:36:17 +00:00
zzz
ba3cb067e3 - Display localized dates
- Display date instead of message id in fetch/push sections
2013-01-09 02:06:56 +00:00
kytv
d835cf1505 update INSTALL
- remove mention of gcj. There are no makefiles in the source.
 - require java 1.6+ to build.
 - grammar fix
 - mention 'run-desktop' target
2013-01-09 01:21:36 +00:00
kytv
c17db7c55b add prep* targets which will be used by the forthcoming installer targets 2013-01-09 01:20:09 +00:00
kytv
10a3fa6a6e add license files included with the SWT distribution (since I think we'll need
it for our forthcoming installers)
2013-01-09 01:16:47 +00:00
zzz
50f2ca81c8 fix SWT disposed exceptions after cancel 2013-01-09 00:50:00 +00:00
zzz
ac95150369 - Restrict permissions on all files and directories
- Send and parse last-modified headers
- Add default favicon.ico and robots.txt to reduce server errors
- Store fetched index file for reuse if server cannot be
  contacted or returns 304
- Continue syndication even if index has not been modified
- Move web files from archive/ to web/
- Return 404 instead of index on bad requests
TODO: Only regenerate index if necessary
2013-01-09 00:36:48 +00:00
kytv
d8969a38b1 update debian changelog 2013-01-08 20:24:45 +00:00
zzz
1860e64519 1.102b-3 2013-01-08 19:11:41 +00:00
kytv
c47278741d Add usage target and make it the default
(shows fewer targets than ant -p)
2013-01-08 12:40:40 +00:00
kytv
f5ccc65762 organize build.xml, add more target descriptions 2013-01-08 12:19:55 +00:00
kytv
5ac263592c Add 'run-desktop' target to run start Syndie with the alternative interface 2013-01-08 11:55:05 +00:00
zzz
c4f00df4cd finals and generics 2013-01-08 11:43:54 +00:00
zzz
ec066a8a6f Changes to reduce the number of messages pushed to archives:
- Use the apparent message date instead of the import date to determine what's too
   old to push, so we don't push ancient stuff we just pulled to another server.
 - Fix bug where max age was multiplied by 7.

As the default age was set to 7 days, we pushed everything for 49 days
after we pulled it. Now we only push for 7 days after it was created.
2013-01-08 11:42:31 +00:00
zzz
ee633399f4 Reject HTTP server requests via inproxies, except for index.html 2013-01-08 11:39:25 +00:00
zzz
711268bf4c text tweaks 2013-01-08 11:38:01 +00:00
zzz
4fa2f6cf69 - Generics in DBClient for sanity 2013-01-08 02:30:23 +00:00
zzz
1fd5bad85b More standardization of forum name and author display 2013-01-08 02:29:44 +00:00
zzz
c8b2bcdf64 More standardization of forum name and author display
Sort strings with Collator for case-insensitive locale-based sort
2013-01-08 02:27:26 +00:00
zzz
cb251b6d5d rename index file 2013-01-08 02:21:37 +00:00
kytv
7c315b8d85 debian: don't hard code paths
My PPA packages will have to use hardcoded paths. Let's allow users that built
from source to user override.properties to specify the locations.
2013-01-08 01:27:58 +00:00
kytv
f9793af8fe customize manifest attributes as is done with I2P 2013-01-08 01:25:33 +00:00
zab
add81ed35c User buffered streams on some locations 2013-01-07 23:47:59 +00:00
zab
bd3f36fdca Set the name of the application to "Syndie" 2013-01-07 22:24:26 +00:00
kytv
24167c1ba3 fix javadocs target, add simple jdoc 2013-01-07 22:17:48 +00:00
zzz
35c0129743 - Move two desktop help posts that are imported at startup, only by desktop.
These posts, one 64KB and one 1.3MB, are not helpful for the standard gui.
  The post URIs are:

    import_post1.syndie: urn:syndie:channel:d7:channel44:Jx3gl5m8XzjIBcYVTNbVG1VlVb0nAXP41d-MbvlxPbY=9:messageIdi1187120476998ee
                         author: jrandom [bF2lur] forum: Syndie dev [Jx3gl5]
    import_post2.syndie: urn:syndie:channel:d7:channel44:bF2lursCrXhSECJAEILhtXYqQ6o-TwjlEUNJLA5Nu8o=9:messageIdi1187210851042ee
                         author: jrandom [bF2lur] forum: jrandom [bF2LUR]

  Ideally we can come up with good intro posts to bundle with the standard gui.
  And then port the importer code from desktop.

  It's not clear they will import correctly into a fresh install anyway - possible read key missing?
  That's what I got when I tried bulk importing them into a fresh install.
  But arent't the keys what is in the meta files?
  And without the left tab updating or throwing up the right browser tab, noob will never see them anyway.
2013-01-07 22:12:33 +00:00
zab
6b525ba0d9 Document that OSX needs some extra command-line parameters
Echo the command-line arguments in "ant run"
2013-01-07 21:55:35 +00:00
zab
f70eebc809 Add a check that prevents changing the Syndie root to an argument
like "-d32"
	Add a TODO that the Syndie root should be in a different place on
	Windows & OSX
2013-01-07 21:54:50 +00:00
kytv
7262bac39a don't allow javadocs to end up in syndie.jar 2013-01-07 19:48:26 +00:00
kytv
4250507340 javadoc fixes 2013-01-07 19:29:10 +00:00
kytv
5aabf555d0 remove javadoc target from TODO 2013-01-07 19:15:10 +00:00
kytv
221a0d7329 * new ant targets
- javadocs
 - getBuildNumber
2013-01-07 19:13:54 +00:00
zzz
61e6001f9c - Add background image to browsser tab during startup
- Speed up browser tab display at startup by several seconds,
  by putting new message search into a JobRunner thread
- Sort forums in new message button
- Display SyndicatorTab on startup if we closed with no tabs
- Limit number of old tabs displayed on startup
2013-01-07 18:43:44 +00:00
kytv
50ee47a6ca update debian packaging to reflect bumped build 2013-01-07 14:40:19 +00:00
zzz
ceda702b11 - Disable database defrag on shutdown for now, speeds up shutdown by about 4x 2013-01-07 13:20:33 +00:00
zzz
e1a2fca385 - Add depend task for better dependency checking
- Don't copy data files to build dir
- Bump to 1.102b-2
2013-01-07 11:50:55 +00:00
zzz
5937bce900 - Add message counts and other info to ReferenceChooserTree;
change font based on message count
- Add message counts to StatusBar new messages popup
- Change default display filter from 6 months to 10 years
- Try to display channels consistently in the bottom status bar popups
  and the ReferenceChooserTree
- Mark a message as read when you read it (change default to true)
- More debug cleanup
2013-01-07 02:52:43 +00:00
zzz
0e82703f4a - Catch 'widget is disposed' exceptions,
possibly preventing pushes from working
2013-01-06 23:28:12 +00:00
zzz
7aafb10fc9 - Better feedback in SyndicatorTab by adding
progress and total size in bytes for message and index fetches.
  Total size only listed for pushes (for now).
- Change page header if no items to display in MessageTree,
  so you don't think maybe it's loading.
2013-01-06 21:37:17 +00:00
kytv
43a8183d78 add findbugs target 2013-01-06 21:31:30 +00:00
kytv
dc8411ccb4 - update debian changelog
- add build targets to aid tarball creation
2013-01-06 18:26:40 +00:00
zzz
e4a79c2de9 1.102b-1 2013-01-06 17:42:14 +00:00
zzz
cf17737662 merge of '166a12647d30b1b573d906feba7bde9887b1c7c3'
and '512acf6019b641d7043900f7dcc07ae66f5e4d71'
2013-01-06 16:54:07 +00:00
zzz
63a584285e - Hopefully fix SWT disposed errors in SyndicatorTab
- Better feedback in SyndicatorTab by adding
  progress messages for metainfo and body pulls/pushes.
  To do: Body progress and total size in bytes
2013-01-06 16:47:31 +00:00
kytv
ba5109828a add sloccount.report target (mostly useful for those that run jenkins) 2013-01-06 15:44:26 +00:00
zzz
52ac0da9cb - Convert debug uses of deprecated Sha256Standalone to SHA256Generator.getDigestInstance().
Note that we cannot convert the other uses
  (Enclosure, MessageGen, ChanGen, MessageCreatorDirect)
  as we need two digests, and digest() resets, so it must clone
  for the first digest, but the fallback MessageDigest from
  SHA256GGenerator doesn't support clone(), and the library one may
  not either.
  Todo: add clone support?
2013-01-06 14:59:12 +00:00
zzz
27a0449019 - Limit max fetches or pushes shown in SyndicatorTab so the UI doesn't slow down
- Remove fetches and pushes as they complete if we exceed the max to display
  Still needs some work and possible synchronization, can get exceptions from
  items that are disposed while updating.
  Also need another state for 'queued' vs. 'in progress'.
- Stub out a callback to the ReferenceChooserTree (left column) from the Syndicator
  so we may update it as we import. Commented out for now, doesn't work yet.
2013-01-06 14:13:45 +00:00
zzz
0a62320804 - Fix "Data already set" internal error when importing posts with
hidden authors and an authentication mask
  http://mosfet.i2p/urn:syndie:channel:d7:channel44:SjwUPvsAw05RyYIHuXy8xTEKKUq2rsb8Qu8zUDXoQ7I=9:messageIdi1338384300469e4:pagei1ee
- Log failures in SyncArchive actions
- When logging exceptions, log at warn level
2013-01-06 14:07:48 +00:00
zzz
2685a56e07 wizard archive text tweaks 2013-01-06 01:27:45 +00:00
zzz
f000a7deef - Shuffle the archives when iterating so we don't always sync in-order
- Shuffle the order URIs are fetched or pushed
- Debug message reduction
2013-01-06 01:26:43 +00:00
zzz
097f824308 - Hopeful fix for NPE (null policies) in Expirer, apparently caused by database
not returning default policies?
  http://mosfet.i2p/urn:syndie:channel:d7:channel44:SjwUPvsAw05RyYIHuXy8xTEKKUq2rsb8Qu8zUDXoQ7I=9:messageIdi1338712603473e4:pagei1ee
- Expire every 24-25 hours, not every 6-30 hours
2013-01-05 21:08:16 +00:00
zzz
c427162851 - Hopefully fix httpserv startup race
http://mosfet.i2p/urn:syndie:channel:d7:channel44:SjwUPvsAw05RyYIHuXy8xTEKKUq2rsb8Qu8zUDXoQ7I=9:messageIdi1339163540117e4:pagei1ee
2013-01-05 20:29:30 +00:00
zzz
0249d2ac58 - Fix error posting private messages, caused by using a 32-byte Hash to store a 16-byte IV
http://mosfet.i2p/urn:syndie:channel:d7:channel44:dayiiQ9zrJNf7FDOHjzZGMAmhHJxwZF2fPHKx4IPDHE=9:messageIdi1341365916247e4:pagei1ee
2013-01-05 18:53:09 +00:00
zzz
c01994d76d - Fix dir layout in data/
- Don't throw math error if splash imgs not found
2013-01-05 18:23:39 +00:00
zzz
6bfd0899d8 - Re-enable the spell checker for non-windows usrs.
Clicking on the button in the post editor doesn't seem to do anything though; to be investigated.
2013-01-05 18:11:48 +00:00
zzz
a78078d4f3 remove temp debug msgs 2013-01-05 17:46:04 +00:00
zzz
9ff008d61b improve wizard text to tell people to start I2P first 2013-01-05 17:14:35 +00:00
zzz
5942a4a4c1 - Move all bundled resources, ddl files, images, etc. out of the
src/ directory to a new data/ directory.
  The resources/ directory remains miscellaneous things that are not bundled in the jar.
2013-01-05 17:04:49 +00:00
zzz
7471443bfd - Change default search and display filters from 1 week to 6 months
- Add more filter age options
2013-01-05 16:43:03 +00:00
zzz
190e7b812a Change default pull age policy from 'whatever the archive says' to '6 months'.
Add more pull age options.
2013-01-05 15:15:26 +00:00
zzz
d16430c9dc archive name tweaks 2013-01-05 15:13:16 +00:00
zzz
5fb4773a39 Catch NoSuchMethodError caused by inadvertent API change to
SocketTimeout in I2P 0.9.3
2013-01-05 14:34:10 +00:00
zzz
654016f0fb add darrob archive 2013-01-05 14:32:40 +00:00
zzz
e69d581d2c Fix NPE if creating a draft msg in a forum, then banning the forum, then opening the draft.
http://mosfet.i2p/urn:syndie:channel:d7:channel44:SjwUPvsAw05RyYIHuXy8xTEKKUq2rsb8Qu8zUDXoQ7I=9:messageIdi1338696206077e4:pagei1ee
2013-01-05 05:10:08 +00:00
zzz
4259f5bcfb drop logger.config 2013-01-05 04:37:19 +00:00
zzz
62b9177962 Reduce default archive min sync time from 24h to 4h.
Reduce default master sync time from 5-6h to 4-5h.
2013-01-05 03:46:06 +00:00
zzz
f33f32cf15 merge of '88290c6905a1a68d0eedeaccc5607554388d6bce'
and 'b2e6a7d30e52b6bd6de33c78e90945d8babb79ca'
2013-01-05 03:08:58 +00:00
zzz
57672b053e dont maximize window by default 2013-01-05 03:00:15 +00:00
zzz
f27734fb8c Reduce default sync time from 24-48 hours to 5-6 hours. 2013-01-05 02:29:13 +00:00
zzz
9a57fe68b9 update default archives 2013-01-05 02:12:45 +00:00
zzz
a578c5b5a6 Wizard screen:
- Fix too wide (stack.setLayoutData args must be true)
 - Make resizable
 - Set max size
Ticket #461
2013-01-05 01:33:11 +00:00
kytv
1225dcb6bd more specific imports 2013-01-04 22:43:01 +00:00
kytv
88b569ab73 bump version deps
Syndie will not build with ant 1.6.5 but it will build with 1.7.0. I didn't
test java4 but java 5 works to build..
2013-01-04 22:40:50 +00:00
kytv
0516c528f2 remove $SRC/syndie.jar with the clean target 2013-01-04 22:07:31 +00:00
kytv
1ebd63e589 fix the dist ("build all jars") target 2013-01-04 22:05:13 +00:00
kytv
0634185d17 update build instructions 2013-01-04 21:08:42 +00:00
kytv
31709a83f9 build.xml
- don't require symlinking dependencies to ./lib. Allow setting properties for them.
   If the properties are not set, the build system will still look in ./lib
 - add getReleaseNumber target
2013-01-04 21:08:25 +00:00
kytv
04b057ab99 add .mtn-ignore 2013-01-04 21:05:24 +00:00
kytv
bd1773293f switch from SimpleTimer to SimpleTimer2
(patch from zab)
2012-11-20 22:02:03 +00:00
kytv
619b86f030 update bug tracking url 2012-07-15 20:18:28 +00:00
kytv
8f4987ed97 Add planb.i2p 2012-06-04 18:44:08 +00:00
kytv
2b8537f413 add vim mode line, remove trailing & leading spaces 2012-06-03 01:00:56 +00:00
kytv
c1f8e33fec Debian packaging updates 2012-06-02 20:18:05 +00:00
zzz
4a92a17165 StringBuffer -> StringBuilder everywhere 2011-06-04 13:19:59 +00:00
zzz
49b407eba0 turn on deprecation warnings 2011-06-01 15:36:04 +00:00
zzz
dd9fb0724b - Top-level doc cleanup
- License info cleanup since I2P is no longer bundled.
- Add icons license, include in plugins.
- Include jazzy license in plugins.
- Remove jazzy license and other text files from jar.
- Stop ant complaint
2011-05-30 16:16:29 +00:00
kytv
2fb0a72aa7 Debian: typo fix 2011-05-29 00:11:18 +00:00
kytv
cb43ed77dd Debian: Update packaging for -b8 2011-05-29 00:06:42 +00:00
zzz
8412c0fd7b update 2011-05-28 14:31:36 +00:00
zzz
d71fadea39 add web server support for HEAD, for shared files only 2011-05-28 13:51:44 +00:00
kytv
68b49b40fd Debian: adjust dependencies so that i2p | i2p-router will satisfy the requirements. 2011-05-27 10:27:00 +00:00
kytv
e02c04074c Debian packaging for Syndie 2011-05-26 00:05:56 +00:00
kytv
e2503e8803 Remove defunct archives/add working archives 2011-05-21 14:47:22 +00:00
zzz
9091970ae2 build updates 2010-03-21 15:47:11 +00:00
zzz
bd76f2d08c lin-64 2010-03-08 01:31:12 +00:00
zzz
84375cea98 add swt license 2010-03-05 18:39:14 +00:00
zzz
b62b163257 make windows plugins too 2010-03-03 00:20:57 +00:00
zzz
b470128205 change update link 2010-03-02 00:29:34 +00:00
zzz
abcf94933a initial plugin support 2010-03-02 00:09:09 +00:00
zzz
cfe8627093 EnclosureBody: Remove unused import of AESInputStream, which was removed from i2p.jar in 0.7.8 2010-03-01 20:43:58 +00:00
dev
a1cc44b1e4 two minor style changes:
* ran xmlint
 * renamed jarjar target to dist
2009-05-28 21:28:37 +00:00
dream
a34f59d679 merge of '1071281782160f2d595d49afcef760a7da62dff1'
and '4b62619eb8583ca9fc999ada6b9e4ea1ea3ac385'
2009-05-28 19:57:01 +00:00
dream
0266af6c70 disapproval of revision 'fcdd311a9d37dca4ac3864e5e295161538afdffa' 2009-05-28 19:54:08 +00:00
dream
e98f39b7de disapproval of revision '4d6b1d54b8297fc19751437d94f1f74d625d6387' 2009-05-28 19:53:56 +00:00
dream
b3460a7e66 AGAIN
Okay one more time! Try to see why this isn't pushing...
2009-05-25 19:05:19 +00:00
dream
7f8080255a Pointless Update
This is a fake commit since mtn crapped out on sending my last one maybe this will trigger it.
2009-05-25 16:09:48 +00:00
dream
4394af98fa Single jar combo
Added a build rule to combine all jars into one jar for ease of distribution and execution. Ideally this should be done after putting swt.jar into lib/ but not sure how that ought to be managed.
2009-05-23 18:41:24 +00:00
dream
8444efe45a Remove broken links
From the webpage, removed links to broken executable files from the old build that produce corrupt archives.
2009-05-22 21:06:26 +00:00
dev
397aa12aef added a new build file and changed around stuff, so it works again 2009-04-13 17:27:02 +00:00
dev
861f7a9536 started cleanup 2009-04-13 16:18:33 +00:00
dev
6a0d836de6 removed I2P source from tree
NOTE: we are now using the smaller keysize instead of the full one!
226 vs 2048
2009-03-21 20:13:38 +00:00
dev
f27a61fb31 minor docs updates 2009-03-21 20:12:56 +00:00
dev
28339eebef removed outdated Makefiles 2009-03-21 19:48:23 +00:00
dev
0a18132698 minor doc update 2009-03-21 19:48:04 +00:00
dev
dc0c6f8eb7 nothing 2009-03-21 19:47:49 +00:00
dev
806b5cab4c syndie goes beta! 2009-02-25 18:10:48 +00:00
dream
571da15e0b syndie.i2p.net needs not to be
Until jrandom comes back, I switched syndie.i2p.net for syndie.i2p2.de so people wouldn't get redirected wrongly especially people visiting an archive with their web server.
2009-02-19 21:37:49 +00:00
dev
140c49c0a2 added syndie.welterde.(de|i2p) as default archives 2009-02-10 22:15:36 +00:00
dev
feb1d58793 updated version(again) 2009-02-02 18:06:39 +00:00
dev
84f7ecf940 Syndicator tab should show "Syndicating" now, when fetching messages 2009-02-01 23:19:59 +00:00
dev
2e29221908 updated version 2009-02-01 23:19:28 +00:00
dev
dd357f01c2 applied patch 6 from MOSFET(and a missing file from patch 2) 2009-01-31 17:12:25 +00:00
dev
11d0374486 applied patch 5 from MOSFET 2009-01-31 16:59:56 +00:00
dev
c5cf07c5b9 applied patch 4 from MOSFET 2009-01-31 16:57:39 +00:00
dev
c521d63464 applied patch 3 from MOSFET 2009-01-31 16:57:11 +00:00
dev
58c23a853a applied patch 2 from MOSFET 2009-01-31 13:35:57 +00:00
complication
114c0a1341 Merge patch 1 by Anonymous:
* properly delimit image file extensions
* store the sync delay upon saving HTTP archive properties
2008-03-23 00:13:28 +00:00
complication
c0ef1baf89 Store the default author into nym preferences early on,
preventing an NPE later (specifically: when we post our first message
with default settings to our own forum).
2008-03-22 22:28:30 +00:00
jrandom
39b1f64410 add some drag and drop functionality to the bookmark tree (no clean way to edit
bookmarks inline yet)
2007-09-30 00:50:37 +00:00
jrandom
917a219ded make the resumeable tree (and a few others) use the full selection (thanks mihi!) 2007-09-29 22:49:53 +00:00
jrandom
ebf41f28f2 1.101a 2007-09-28 20:16:43 +00:00
jrandom
17a4502d52 1.101a 2007-09-28 20:16:17 +00:00
jrandom
540c7cf5b6 when searching for keyword/all, sort them by name instead of randomly 2007-09-28 19:13:47 +00:00
jrandom
a072c18c7e clean up the private reply to a private reply scenario (thanks somebody!), and
more easily allow sending private replies to blog posts
2007-09-28 08:19:16 +00:00
jrandom
2755f8eaf3 options can have single words :) 2007-09-28 04:17:49 +00:00
jrandom
09907e62fb patch from polecat to improve the parsing of subject lines and other strings (thanks!) 2007-09-28 03:55:13 +00:00
jrandom
a1ee601419 - periodically run the expiration policies (after every day or so of syndie's uptime)
in addition to whenever the policies are run manually
- drop the package private hsqldb gcj-kludges/hacks, as they obviously depend on the
  particular version of hsqldb used (and the latest don't have the kludged files)
- rework the left drop targets and the right hand side of the forum selection panel -
  you can drag a message from the message tree onto the bookmarks section to bookmark
  it, or to the "special forums" section to watch the author
2007-09-28 03:14:21 +00:00
jrandom
e22eae68d8 more aggressively set the focus on the panel's important data 2007-09-17 21:29:46 +00:00
jrandom
97108f3014 message editor: the "change author" and "change forum" (etc) popups now bring up
the appropriate list of forums instead of the full nymChannelTree
2007-09-17 03:51:27 +00:00
jrandom
05df18f393 turned the top right corner into a close button (by popular demand) 2007-09-17 02:26:15 +00:00
jrandom
76bda3257d switch to using a tree to display "special forums" and bookmarks instead
of using a grid with more fine grained selectors
2007-09-17 01:49:28 +00:00
jrandom
db938a99dc - switch the to and from combo boxes in the message editor to buttons that
launch a forum selection dialog
- preview before posting more carefully
2007-09-10 00:32:39 +00:00
jrandom
5c7c6cc694 erg, further 'revert' fixes 2007-09-09 21:06:47 +00:00
jrandom
6d2fc480f6 fixes for reverting cancel and expiration policy changes 2007-09-09 20:43:28 +00:00
jrandom
1c65b7f180 port the archive manager to the desktop gui, exposing the unban and archive advertizing
options (thanks foofighter)
2007-09-09 18:22:40 +00:00
jrandom
4448b92d46 - make sure we have a watched expiration policy (thanks foofighter)
- when reshowing a message tree, only update the bottom row if the filter changed
  so the blue back arrow doesn't disable 'post'/'reply'/etc (thanks foofighter^2)
2007-09-09 18:07:13 +00:00
jrandom
840d55723c - make sure we delete cancel stub messages
- make sure we process cancel messages fully
- don't include cancelled/deleted messages in the message/thread tree
- prompt to confirm message deletion, forum banning, and message
  cancellation (thanks foofighter!)
2007-09-09 07:15:15 +00:00
jrandom
51b2f82976 honor cancel messages (according to policy), keeping track of what should be cancelled.
the gui causes one or two cancel messages to be created when the cancel option is
selected - first, it creates a specific stub cancel message containing no data, just
a header with the to-be-cancelled uri, and second, it (may) create an updated metadata
to include the to-be-cancelled uri in its list of recently cancelled messages.

the stub message is authorized and authenticated as the author of the to-be-cancelled
message, or if the author's keys are not known, it is authorized and authenticated by
the owner of the forum the to-be-cancelled message was posted in.  if neither of those
keys were known, no cancel message is created (down the line, a gui for some other
options can be added).  the metadata to be upated uses that same policy - it updates
the author's metadata (if possible) or the forum's metadata (if possible).
2007-09-09 05:26:56 +00:00
jrandom
f728c7da26 merged in the i2p eepget changes (in-memory output streams) 2007-09-07 21:28:13 +00:00
jrandom
22ac3ea1b5 cancel policy management and the gui side of the cancel message creation.
still need to generate the appropriate cancel messages/headers as well as 
honor them (according to the relevent policy)
2007-09-07 19:11:57 +00:00
jrandom
042e54fe3e updated w/ icons for many of the menu options (thanks defnax!) 2007-09-06 22:43:48 +00:00
jrandom
b3fe101e7a minor log message trimming 2007-09-03 00:09:19 +00:00
jrandom
c6c22b7d98 - reenable the hsqldb compaction routine on shutdown, since with actual
message expiration it'd be good to reclaim that space
- when expiring a data file for a message we haven't yet been able to decrypt,
  expire the db message too, since we won't be able to decrypt it without the
  data file
- make sure we don't try to reimport messages that have been deleted/expired/etc
- enable the actual expiration engine, as the data file logic has been updated.
  one caveat though is that the target channel for database messages may appear
  to be off when the message could not yet be decrypted - for those
  undecryptable messages, they will be expired by scope channel.
- while the expiration is running in the gui, disable the expire button
2007-09-02 23:45:02 +00:00
jrandom
2942901408 - add in the beginnings of the engine behind the expiration policies (Expirer).
it is currently set to not actually delete anything (just log what it would
  delete), and the data file deletion is currently disabled entirely due to a
  logic error.
- track the message sizes explicitly so we can more easily expire messages
  (rather than recalc the page, attachment, etc lengths each time)
2007-09-02 03:20:05 +00:00
jrandom
61a5917bac add in the gui and db side of the expiration policy management for both the
desktop and tabbed ui.  the expiration policies are not yet executed though.
2007-08-31 05:51:49 +00:00
jrandom
fccb992de4 - add in the deletion and expiration database tables/columns
- allow messages to be explicitly deleted from the message tree context menu or the
  page renderer's context menu (which deletes both the .syndie file and the db data)
2007-08-29 21:49:29 +00:00
jrandom
d242d30552 1.100a released 2007-08-25 00:04:26 +00:00
jrandom
f6cd168a49 summarize the last 6 months in a few lines (ugh) 2007-08-24 23:59:47 +00:00
jrandom
be6ba30b27 add in a shortcut to the syndie-tabs gui 2007-08-24 21:16:11 +00:00
jrandom
6802b22129 - when packaging up syndie, distribute both a syndie.exe and a syndie-tabs.exe,
where syndie.exe launches the new desktop GUI and the syndie-tabs.exe launches
  the old tabbed syndie GUI
- remove the "switch to tabs" button in the desktop GUI's control panel
- streamline the HTTP server's archive index rebuilding so that all requests can
  be processed during the rebuild rather than the old scenario where all requests
  waited until the rebuilding completed
2007-08-24 21:04:49 +00:00
jrandom
65f4adc3e3 when viewing an archive uri w/ details, pop up the dialog w/ those details 2007-08-23 06:22:00 +00:00
jrandom
9efeca8523 - since we package the tour and help as syndie messages, don't dist them as html/png
- update the download filesize approximations
2007-08-23 01:21:58 +00:00
jrandom
d2dd97ca44 make sure we're 1.4 friendly (oops) 2007-08-23 00:00:27 +00:00
jrandom
7ea15eeb98 package the latest SWT (3.4M1), run the new desktop GUI by default, and increase
the version number to 1.100a
2007-08-22 23:52:23 +00:00
jrandom
4ba956ac95 when switching to the tabbed ui, close all open panels so the ui is a bit
more consistent
2007-08-22 23:35:05 +00:00
jrandom
41b9053423 force the focus on the archive tree when we switch to the syndicator panel 2007-08-22 23:28:18 +00:00
jrandom
fad876a4f3 alt+u copies the current URI to the clipboard. note that when viewing the
message tree panel, alt+u copies the URI to the current search criteria to
load that message tree, not the URI to the currently selected message or
forum
2007-08-22 20:53:46 +00:00
jrandom
2be4441495 "view fetched messages" should filter based on the message targets not scope 2007-08-22 20:30:50 +00:00
jrandom
a12ea6e143 message thread tree - "mark read" should only affect a message, not a thread 2007-08-22 20:28:47 +00:00
jrandom
52d6483a60 add "unwatch" and "drop reference" to the forum selection panel, where appropriate 2007-08-22 20:23:31 +00:00
jrandom
936594399c when individual messages have their read status updated, propogate that change to
other panels that care (e.g. when marking as read on a message panel, update the
font on the thread tree for that message)
2007-08-22 06:01:36 +00:00
jrandom
223afa1b8f - lazy load the channel info for 'special' forums (manageable/ident/postable/etc)
- increase the task close icon sizes
- resize the task popup's avatar image sizes to a consistent value
2007-08-21 19:59:11 +00:00
jrandom
4484a778d6 - add keyboard controls on the message tree to access the right hand side buttons:
^X = eXpand, ^C = Collapse, ^P = Profile, ^V = View, ^M = Mark, ^R = create ref
2007-08-21 00:44:41 +00:00
jrandom
08538dd4d8 - make the watch and ban buttons switch to unwatch and unban as appropriate on
the message tree panel
- add tooltips to the message panel navigation buttons
2007-08-20 23:26:42 +00:00
jrandom
d6671c9c68 - on the control panel, don't open selected uris twice
- fire up a warning dialog on unknown URIs and URLs in the desktop GUI as it was in
  the tabbed gui
- don't launch the tabbed gui when an unknown URI or URL is launched (only show the
  embedded tabbed UI when specifically told to do so from the control panel)
2007-08-20 22:17:10 +00:00
jrandom
b827065367 fix up some panel titles (thanks Anonymous) 2007-08-20 22:04:07 +00:00
jrandom
5ccdf2c13c - use the cached nym channel info more frequently
- made the tabbed gui launching a bit more streamlined by locking the gui thread
  less frequently
2007-08-20 20:05:00 +00:00
jrandom
94933437f6 - cache the pbe and pubkey checking to reduce unnecessary calculations
- add the new action/style buttons to the old message editor
- add a button to the control menu to open the tabbed ui panel
2007-08-19 23:40:08 +00:00
jrandom
59625889d2 - enable right click on the avatars in the forum selection panel to view their profile
in addition to just viewing their messages
- make the watch/ban support unwatch/unban on the profile panel (thanks Polecat!)
2007-08-17 00:18:30 +00:00
jrandom
1756c2cec3 - fixed some html in the help pages
- enable intrapage links in the standalone message viewer so it doesn't launch a new
  message panel
- hide the attachment tabs in the standalone message viewer
- autoimport the help and tour data properly
2007-08-15 18:43:20 +00:00
jrandom
68885404bb renumber pages for the context sensitive help 2007-08-14 20:25:15 +00:00
jrandom
dd0e16ded1 package up the help and tour posts, (re)importing them on each startup (in case they're
updated)
2007-08-14 19:55:36 +00:00
jrandom
62594ab1f5 add a minitour 2007-08-14 18:02:13 +00:00
jrandom
caba6ab5c6 update the index to link to what is built so far 2007-08-14 17:40:37 +00:00
jrandom
38e10c47df message panel 2007-08-14 17:38:56 +00:00
jrandom
7cdb4a8210 - trim some of the ... zealous coloring
- disable the preview pane by default
- add a "view fetched messages" button to the share panel which focuses in on
  the forums that contain messages that were just fetched
2007-08-14 17:01:32 +00:00
jrandom
3d27c58023 start of the context sensitive help 2007-08-12 03:03:06 +00:00
jrandom
7fe2b147cd - add a "view all" button, in case blanking out the search field and hitting search
wasn't obvious.
- fix the search field resizing issue (thanks Complication!)
2007-08-11 00:43:20 +00:00
jrandom
9a25361822 whiners want to see their taskbar for some reason ;) 2007-08-10 19:06:39 +00:00
jrandom
c6cff9a36d - clear a memory leak of attachments in the message editor (thanks Anonymous!)
- optimized the SQL to pull channel info more efficiently when building the list
  of 'special' channels for the message editor (aka populating the channel collector)
2007-08-10 04:16:38 +00:00
jrandom
8d090f589f when using the 'view combined' feature on the references, traverse the current
matches recursively
2007-08-10 02:46:09 +00:00
jrandom
460492dfbb bugfixes for editing the archive defaults and drawing vertical text on windows 2007-08-09 23:52:01 +00:00
jrandom
6eae63c378 increase the delay between transparent retries on http fetch failure to 5s-65s,
and reduce the number of concurrent fetches per archive to 3.
2007-08-09 22:20:49 +00:00
jrandom
987de3c024 ugh, fixed compile err (thanks Complication!) 2007-08-09 19:01:20 +00:00
jrandom
e11730d1b6 add a basic message viewer shell for displaying the tour and context-sensitive help 2007-08-09 00:28:27 +00:00
jrandom
0356cb4ca1 allow page titles to be overridden (right click on the tab when editing) 2007-08-08 07:08:16 +00:00
jrandom
32be8cfbc5 expose more controls on the edges of the message tree panel rather than buried in
the context menus
2007-08-08 06:05:03 +00:00
jrandom
71393d7546 polecat reports this as helping some aspects of the textui (thanks polecat!) 2007-08-08 01:55:26 +00:00
jrandom
bb2df8e39a as requested, a new per-archive whitelist is available when pulling remotely,
treating any scope in the whitelist's reference category (recursively) as whitelisted
(allowing that scope's own posts or posts to that scope).  by default it will still
fetch as if there wasn't a whitelist, importing all fetched posts and then deleting
anything not whitelisted.  optionally though it can apply the whitelist sooner and
only fetch those that match it, though this has serious anonymity implications.
more networked testing is necessary.
2007-08-08 01:33:49 +00:00
jrandom
b5b8c46d49 - enable the min sync delay option for each archive (default delay of 1 day)
- the backoff-on-failure is in place and cannot be disabled atm, with the
  backoff of (delayHours * numConsecutiveFailures), up to a max of 3 days
  between sync
2007-08-07 02:27:30 +00:00
jrandom
f6f16c0e52 when recalcing the channels (for whatever reason), make clear that there is
work going on and that syndie hasn't just hung (since it can take a few seconds
for some searches)
2007-08-07 02:00:32 +00:00
jrandom
319e17400e - refactor the old default archive config from the Constants java object into
either $syndieDataRoot/defaultarchives.txt or resource($defaultarchives.txt),
  whichever is found first.
- go back to the "guide the user to pick the archives when they open the
  syndication screen / share panel", rather than the (much hated ;) "add the
  defaults automatically on startup".  the new method for helping the user add
  in the defaults is also much more friendly (and editable)
- be sure to unload the archives (and kill the fetchers/pushers) when switching
  instances (oops)
- let the user go back to that welcome screen later if they want to (though 
  everything on it is reachable elsewhere)
2007-08-05 23:42:06 +00:00
jrandom
1b49c0aadf - add in a basic welcome screen (though the referenced tour isn't implemented yet)
- minor refactorings and bugfixes
2007-08-05 20:01:32 +00:00
jrandom
d0c8359db0 fix an odd gtk task switch bug where alt+up/down would have the first event
fired twice (switching tabs twice)
2007-08-05 02:40:48 +00:00
jrandom
b70ea79c84 enable the custom data filter option 2007-08-05 02:21:33 +00:00
jrandom
319e8137ea - make the httpserv configurable (and controllable) through the top left command menu
- honor the "httpserv.runOnStartup" nym pref in the desktop app (the TextUI still
  needs to launch the httpserv with the 'httpserv' command)
2007-08-04 06:00:30 +00:00
jrandom
03aeb70815 rework the and httpserv eepget timeouts to be much more reasonable and configurable
(thanks polecat and anonymous!)
2007-08-03 23:16:06 +00:00
jrandom
229a46ac58 implement the "create reference" button on the forum selection screen 2007-08-03 21:01:52 +00:00
jrandom
5be5df49f0 make the number of http handler threads in the http server grow dynamically based on
the backlog size (up to a maximum of 50 handlers)
2007-08-03 18:48:21 +00:00
jrandom
1d400bac8a - clean up some ugly focus control issues so the right things get keyboard actions
- make the top right corner minimize syndie rather than open the task tree
  (since the "switch task" button right next to it suffices :)
- run bans asynchronously, since banning a forum with lots of messages can take
  a while (a few hundred ms or more)
2007-08-03 04:27:10 +00:00
jrandom
80ce0a4103 more careful passphrase handling (oops) 2007-08-02 09:02:34 +00:00
jrandom
226a5759e3 - let the user switch database instances easily (top left control menu), creating
a new instance if the specified directory does not yet contain one.
- let the syndie database passphrase be changed (if, on startup, the default
  passphrase won't let the user log in, it keeps prompting the user for their
  pass).  both the database passphrase is changed to this value as well as a
  few critical data fields (private keys and postponed messages are encrypted
  with this passphrase).  the default 'sa' admin account's passphrase is updated
  to a random value as well, though anyone with the source to hsqldb can bypass
  that (but would not be able to bypass the encryption on the critical data 
  fields).  down the line, when hsqldb supports transparent full-db encryption,
  the db passphrase itself should become more meaningful.
- use the avatar from the instance's default identity as the icon in the top left
- more vertical text
2007-08-02 08:45:50 +00:00
jrandom
f4cd7c3994 html fixes 2007-08-01 00:32:44 +00:00
jrandom
c7a678695e when traversing threads, skip messages that are not known locally 2007-07-31 23:04:54 +00:00
jrandom
99778907f5 - add in an intermediate screen after hitting the "write" button that lets you
resume already postponed messages if desired
- port the sql screen to the desktop ui (accessible under the advanced control
  menu [top left corner])
- more vertical text deployment
2007-07-31 22:48:31 +00:00
jrandom
5adbd4ef9e make the top command bar translatable/themeable, and add a minor text alignment
tweak to the channel selector screen
2007-07-31 19:21:16 +00:00
jrandom
22900cce48 - disable the hsqldb compaction routine (reenable for production releases)
- add code to draw text vertically, and use that for the west and east buttons
2007-07-31 18:58:29 +00:00
jrandom
09aca76df1 - enable picking forums that only include (unread) private messages, and when actually
browsing those forums, by default always include private messages in the list (in
  addition to pbe'd, public, etc)
- move the panel-specific "north" edge in the desktop down under the current position,
  replacing the top edge with a set of primary control buttons - 
  read/write/share/manage/switch.  These are in part currently duplicated with the
  corners, but having them up top next to each other should offer a simpler view
- toggle the preview/edit context button translation in the message editor appropriately
2007-07-29 20:56:04 +00:00
jrandom
8af9e54168 adjusted freenet key generation to the latest fcp details (thanks nextgens!) 2007-07-02 02:56:28 +00:00
jrandom
fc1e255804 fix to allow creating multiple forums on the old gui (thanks Complication!) 2007-06-03 19:17:35 +00:00
jrandom
a90bbc3e18 don't include messages as sources for watching (duh) 2007-04-03 19:09:39 +00:00
jrandom
119b7726c7 dodge a few resource leaks (undisposed themeables)
show some progress info while importing
2007-04-03 18:04:17 +00:00
jrandom
5dac3f4fd9 basic control menu 2007-04-02 18:09:00 +00:00
jrandom
c3d9d3bec9 be more aggressive about fetching avatars 2007-04-02 02:47:53 +00:00
jrandom
ddce0c947f switch the forum selection popups from the old tree-based one to the new icon
based one across the board (though the places where it explicitly uses the
reference tree directly instead of the popup are unaffected)
2007-04-02 02:19:14 +00:00
jrandom
df6fb4bcab postprocess the translated text to replace newlines with the current running
platform's line separator, allowing \n to be used in the translations
2007-04-01 17:02:27 +00:00
jrandom
29ec2ff02c make the link builder more dynamic, showing only the relevent fields for the
type of link in question (also avoids the confusion of filling in fields for
multiple types of links)
2007-04-01 16:51:43 +00:00
jrandom
eb4a501bd2 no need to fetch the system icons during our blocking startup (and those fetches can
take a good deal of time, since they load the images from byte arrays internally rather
than files)
2007-04-01 15:25:14 +00:00
jrandom
2b441088f1 - enable adding multiple references to a message (oops, thanks anonymous et al)
- enable adding references to a forum that aren't in our local bookmarked references
2007-03-31 16:51:38 +00:00
jrandom
f37a7477f3 - add petnames/descriptions/icons/avatars for forums/references, overriding the
name, description, and avatar set in the forum's profile
- add a new combined bookmark / reference editor
2007-03-31 16:36:55 +00:00
jrandom
0cff3e5838 - more race fixes on the fast message panel switching
- reenable the drag and drop on the forum reference manager (thanks Anonymous)
2007-03-26 23:12:34 +00:00
jrandom
3ee8ffd574 erg, compile fix 2007-03-26 22:38:15 +00:00
jrandom
7befb92ccf - basic profile panel integration (edit and view)
- make the west edge a toggle (show/hide the favorites, not just show the favorites)
- add hooks to add new nyms/forums into the forum selection screen (add refs isn't yet
  tied in)
2007-03-26 22:35:16 +00:00
jrandom
32721dd255 toss in some vertical text on some side edge buttons
only use one "favorites" button on the left instead of two (watched and refs)
don't open multiple message panels for different attachments/pages
2007-03-26 20:28:59 +00:00
jrandom
4e21dedf91 theme the east edge 2007-03-26 20:08:20 +00:00
jrandom
74c50b5989 tie in the syndication panel into the desktop, fired by the southwest corner 2007-03-26 19:59:43 +00:00
jrandom
54b60f9ebb handle traversal across multiple forums smoothly (strip the fake forum nodes,
pushing the forum's threads up to the top level, and reparent)
2007-03-26 13:32:20 +00:00
jrandom
14014d1abd shrink the msg nav images so they'll all display on an 800x600 screen 2007-03-26 12:51:07 +00:00
jrandom
6b0afb6cd2 add a next/prev via thread that follows the thread but jumps to the next/previous
thread when the edge of the current thread is reached (stopping at the forum end/begin)
2007-03-26 12:21:55 +00:00
jrandom
2bf5db3441 make jikes a little happier, and use the cached channel info for the
message tree post privs
2007-03-26 12:12:41 +00:00
jrandom
9323702855 dodge a race when reusing a message body very quickly 2007-03-26 00:19:54 +00:00
jrandom
b3f1487301 profiling driven updates:
- defer more actions when viewing a message or rendering a page
- reuse a message iterator if we have one
- loop unroll the PBE crypto
- cache the set of channels that the current nym has special privs on, cleared
  whenever a new message or metadata comes in
- our ImageCanvas is faster at drawing plain fixed size images than the Label.  use
  that more often
2007-03-26 00:05:19 +00:00
jrandom
d2c55b7126 add navigation functionality to the message view panel (with some quirks
described in MessagePanel.getIterator(...))
2007-03-25 19:34:52 +00:00
jrandom
7f486d9dd9 - make a few desktop elements dnd sources and do a little work on the link edge dnd
target handling
- instead of using one corner for advanced options, use it for help and access the
  advanced options from the control menu
2007-03-25 16:37:39 +00:00
jrandom
632c48a1a5 - port over the pbe/unreadable/unknown code from the message tab to the message panel
- include the flag bar in the message panel's north edge so we can give some clues
  about the privacy/etc
2007-03-24 23:31:33 +00:00
jrandom
b86395da03 - on the message editor, click on the avatar to show the full headers, or doubleclick
to open their forum
- urge people to preview their posts - if a message is html and the user is
  viewing it in the editor when they hit post, switch to the preview and ask
  them to confirm.  if they're already viewing the preview or the message is
  plain text, no confirm is necessary
2007-03-24 22:45:44 +00:00
jrandom
568088b054 - make the link builder more responsive to type selections
- fire the style picker from the message editor panel, though not the
  list/pagebg/header/pre html helpers
2007-03-24 19:21:07 +00:00
jrandom
3598402a03 - add tabs for the attachments on the message editor
- add a south edge to the message editor panel, controlling all but one of
  the old message editor toolbar's functionality (without the menus).  the
  style functionality is still pending
- add some basic icons for the message editor panel
2007-03-24 18:39:45 +00:00
jrandom
5874fb4ebd east edge to the message editor panel, triggering the current page to toggle
the full-page preview via alt+space (this is separate from the tabbed ui's
full screen mode - the full-age preview only adjusts the weights on the sash)
2007-03-24 13:18:07 +00:00
jrandom
2f6191a892 - refactor the message editor to extract the toolbar, add callbacks on setting
changes, and to allow the toolbar, page previews, and action buttons to be
  disabled
- start work on the edges for the desktop message editor panel, with the 
  north edge pretty much in place, though the south and east are still pending
2007-03-24 02:58:05 +00:00
jrandom
42ca5fa9d5 basic message editor integration (still needs edges and lots of cleanup/refactoring) 2007-03-23 22:13:43 +00:00
jrandom
24e4ed2504 - data callback so it doesn't npe on mark-as-read
- alt-f-x keystroke combination now attempts to exit syndie
- ^w closes the current screen
- don't npe on font size changes after using the preview popup
2007-03-23 20:33:51 +00:00
jrandom
34c7661766 added task closing support to the task tree (closing one task or all tasks in
a forum)
2007-03-23 17:10:56 +00:00
jrandom
9da402d120 - fix to the import process to allow importing undecryptable private messages.
The problem was created when we allowed anyone to send anyone a private message,
  rather than just allowing those authorized to post in the receiver's blog.  Now
  we verify the authorization signature either against the receiver's ident key or
  other explicitly authorized poster, or against the sending scope's ident key.
  This avoids the "bugger off" message for private messages, as they're authorized
  in their sender's scope.
- refactor the message creation code into the MessageCreator (using the original
  MessageGen class) or the new MessageCreatorDirect (which does not depend upon the
  MessageGen).  This addresses a few issues by introducing type safety into the
  message creation code and cleans up the process (MessageGen was built for Syndie
  four user interfaces ago and had been patched to support the changing
  requirements).
2007-03-23 12:00:04 +00:00
jrandom
eef94e5068 - allow any number of message panels in a single forum
- add a new task switcher (launched with alt+f) that organizes the open panels
  into a tree by forum.  still todo are controls to allow closing individual tasks
  this way, plus icons, etc
2007-03-21 19:17:42 +00:00
jrandom
1dfbfedfd2 don't recalc the message tree on tab across the page size or filter fields 2007-03-21 17:16:02 +00:00
jrandom
aaa359643b clean out the preview from the normal browse tab
more carefully launch the tooltip-preview
2007-03-21 14:12:08 +00:00
jrandom
03321345a0 - honor the actions for thte message tree panel and message panel
- add a new tooltip-like message preview on mouseover/tree selection change.
  click on the X or on anything else to dismiss it, or hit escape, etc, and
  view the message in full via doubleclick on the subject or the view button.
  this preview is instead of the old preview pane (enabled via the show preview
  option)
2007-03-21 13:26:32 +00:00
jrandom
feb7b6dcde - refactor the messageview into the larger message view and the
tabs/attachments-only messageviewbody
- embed the messageviewbody into a new messagepanel in the desktop ui
2007-03-21 11:11:02 +00:00
jrandom
28f3ea594a - implement the actions and nav for the message tree panel
- split up the left hand bar into watches and refs (both launch the forum
  selection pane, though they prefer different sections)
2007-03-20 23:47:45 +00:00
jrandom
5c90b5a48c 0 is a valid channel id (duh)
dont show the forum avatar for message references (instead we want to show a
message icon)
2007-03-20 14:18:32 +00:00
jrandom
e712141bc5 add an option to the forum selection panel to browse the references by icon
as well, traversing categories on selection (or right-click to view an aggregation
of all forums contained within the category, recursively).  there is no way to
traverse the references upwards other than to start at the top again and work your
way down, but it should work for many uses.  (reference management will be handled
another way - this is just for forum selection)
2007-03-20 10:23:10 +00:00
jrandom
333773e353 propagate from branch 'syndie.desktop' (head c5fd9f4dea0d5e21c1e1ea2e472c5a127064573b)
to branch 'syndie' (head 7750ad43cd418e2a544da44ed82ff0711543dd0e)
2007-03-20 02:29:17 +00:00
jrandom
a2a72c2bdc this'n needsta be there too (oops) 2007-03-20 02:29:01 +00:00
jrandom
b860825819 propagate from branch 'syndie.desktop' (head 9608e95ea6d21c69ce3584e2cee6e5794d7ea23c)
to branch 'syndie' (head 803647a9ba9c51343c89656fe59df5601bc42612)
2007-03-20 02:15:30 +00:00
jrandom
30e6063ea9 the tabbed ui doesn't need that draft linkbar yet 2007-03-20 02:14:39 +00:00
jrandom
abc896830f logging and profiling 2007-03-20 01:51:03 +00:00
jrandom
bcb0da4f5c - treeItem.getParentItem() uses native resources (because of virtual trees), but our
message trees don't use virtual trees, so just cache the parent item (profiling++)
- don't combinatorially retheme message tree elements (jrandom--)
- disable the spell checking engine too, not just the ui
2007-03-19 23:48:57 +00:00
jrandom
9d32cbb72d - make the startup panel's logging async (as in the old log tab)
- workaround for the keyboard focus disappearing after firing the
  key filters
- better handling for multiple message tree panels
- add a button on the forum selection panel to view all of the 
  forums listed together on a single message tree panel
2007-03-19 22:24:08 +00:00
jrandom
64368b72ac - dynamically choose whether to split up the threads by forum or assume
they're all in the same forum
- propogate the translation/theming into the embedded browser
2007-03-19 20:55:44 +00:00
jrandom
2a4033cd2a - add a north edge to the message tree panel showing the forum
- transparently reroute requests at the message tree panel that were
  for a channel in general to the default search uri against that
  channel
- cut down on some debugging messages
- support custom names/descriptions for the message tree panel and
  other panels (bookmarkable groups, etc)
2007-03-19 18:33:11 +00:00
jrandom
c1925c8adb tie the navigation controls into the desktop ui, with a fallback to launch
the embedded tabbed gui for uris that aren't otherwise handled.
further refactoring the uricontrol into the urihelper
2007-03-19 16:10:22 +00:00
jrandom
c8d997576e - increase the max avatar size to 64x64
- better scrolling in the channel selector panel
- add alt-up/down as hotkeys to go to the previous/next panel (allowing concurrent
  operation with the tabbed view's alt-left/right)
2007-03-19 01:14:02 +00:00
jrandom
f5995fa468 make the channel selection pane scrollable
fire up the watched forum selection on the desktop gui start
2007-03-19 00:46:30 +00:00
jrandom
a53796a7f6 tie the channel selection code into the desktop gui
start work on the task selection code for the desktop gui
decouple the theme registry from the browser
2007-03-18 23:53:18 +00:00
jrandom
5b51aec3ca migrate away from the channelTable and WatchedPanel into a more generic
ChannelSelectorPanel which encompases their functionality (plus text based
searching on the forum name, description, and tags)
2007-03-18 20:35:32 +00:00
jrandom
1784647a34 add a new table gui that can be fed channelIds to render. this is hooked up
with the link bar to open up a panel with the user's nyms on ALT+N and to
open up a panel with any forums the user has special privs in on ALT+M.
the channel table will also serve as the forum search results display, 
though not yet integrated as such yet
2007-03-18 01:21:41 +00:00
jrandom
d6fbb7db68 add an abbreviated header to the message editor, only showing the subject and
a button to show the rest of the headers.  the abbreviated header is used by
default now, since most of the fields are controllable with the button selectors
2007-03-17 15:02:47 +00:00
jrandom
a6f3fa7a53 - disable the spellchecker for the moment, as it needs substantial work
(better line breaking, plural handling, caps handling)
- theme the page editor
2007-03-17 14:29:02 +00:00
jrandom
b761f8e4c3 find/replace functionality updated 2007-03-17 14:16:03 +00:00
jrandom
9ae8455958 partway through updating the page editor to use a native Text control instead
of an swt StyledText control.  find/replace and spell still need to be ported,
but the rest should be in there
2007-03-17 13:36:18 +00:00
jrandom
6400fc6b1e only count the unread messages if we are filtering by that, since it can get expensive 2007-03-17 00:32:01 +00:00
jrandom
ee0af370c0 begin work on the link bar's references panel (still needs DnD ordering, edit, delete,
and the button functionality)
2007-03-16 22:09:37 +00:00
jrandom
eea3bb0834 close the watched panel after an action 2007-03-16 17:57:33 +00:00
jrandom
5f07628e1c - refactor the left hand edge into the link bar, and try our hand at embedding
that in the tabbed UI as well.  start work on implementing some of its
  functionality: rather than rendering the tiny scaled down avatars on the bar
  itself, open up a centered dialog w/ the full avatars in it on ALT+W (for
  watched forums, ALT+R for references [bookmarks]).  the watched part is the
  only part implemented so far though.
2007-03-16 17:46:34 +00:00
jrandom
aff20ae39e clean up the image grid, and tie the linkedge in better 2007-03-15 22:51:43 +00:00
jrandom
789b217221 work in progress for the desktop gui design (not linked from other pages) 2007-03-15 21:07:03 +00:00
jrandom
e4088aa7cd * 2007-03-15 1.005a released
- streamline the splash screen loading, status bar updating, and thread
      rendering.  also includes some minor refactorings to improve GUI
      responsiveness.  page rendering is also improved for large messages.
    - improved image loading performance
    - trim the PRNG buffer size from 4MB to 4KB, dramatically cutting startup
      load
    - add a 200 change undo/redo buffer into the page editor
    - handle attachment-specific Syndie URIs
    - parallelize the HTTP syndication where possible
    - add a direct "pull only" archive to new users, and schedule it up to run
      automatically (to ease the out of box experience)
    - better subsequent syndication fetch handling
    - handle web rips in character sets other than UTF-8 (translating them into
      UTF-8 transparently as long as the server sends the encoding/charset type)
    - when browsing a single forum, include the forum's advertised references up
      top, giving the forum administrator a place to put any FAQs/etc
    - support nested quotes
    - run the shutdown/exit in another thread so the GUI disappears immediately,
      even if the database takes a while to clean up
    - approximately every 10 times we shut down, compact the database
    - disable the 30 second startup timeout, as slow machines that have to do
      some database recovery could exceed that period (and the timeout was only
      there for helping pre-1.0 users migrate anyway)
    - major internal refactoring to simplify integration with other GUI styles
2007-03-15 15:31:37 +00:00
jrandom
3193b41909 - more work on the linkedge (new image grid for rendering the avatars/icons top-down or
bottom up)
- get rid of the edge/corner spacing
2007-03-15 02:12:50 +00:00
jrandom
a8fb417750 - main as DesktopUI (but embed the TabPanel once its ready)
- no trim (but the Browser can create its menus)
- FireSelectionListener needs fire() to be public (duh)
- LinkEdge is the beginnings of the left hand edge.  very, very beginnings.
  all it does now is let you see the panels loaded and switch between them
2007-03-15 00:21:25 +00:00
jrandom
eca9abd831 embed the normal Syndie Browser GUI into a TabPanel 2007-03-14 23:13:07 +00:00
jrandom
dd605bc47f put it back to SWTUI (for propogation into the main branch) 2007-03-14 22:34:24 +00:00
jrandom
f3da642cfc no more DataControl, replace it with a BanControl and pass the
DBClient/UI/ThemeRegistry/TranslationRegistry to various components.  also
toss in a base gui class for everything that gets those for
2007-03-14 22:33:24 +00:00
jrandom
7f8e883829 oops, need this'n 2007-03-14 18:01:37 +00:00
jrandom
be01bbdeae - drop the old Command launchers which were used to test the GUI components from the CLI
- refactor the BrowserControl into a half dozen subinterfaces, and adjust the
  components so that only the Browser and the BrowserTabs depend upon the BrowserControl
  (and all non-browser specific instances depend upon the various subinterfaces).
2007-03-14 17:51:04 +00:00
jrandom
be1ac5f71d begin to split the BrowserControl up into composite parts 2007-03-14 14:46:26 +00:00
jrandom
5b31837d8a a little migration for cleanliness 2007-03-14 13:40:32 +00:00
jrandom
b71254cafd desktop gui 2007-03-14 13:27:02 +00:00
jrandom
3b8586e366 more aggressively use the file-based image loading 2007-03-14 13:25:46 +00:00
jrandom
10d6b9b7fc erm, oops, y'all don't have your syndie data dir there ;) 2007-03-13 19:13:43 +00:00
jrandom
2a29690b1f - make I2P's PRNG buffer size configurable, and reduce it from 4MB to 4KB
(since Syndie doesn't need anywhere near as much as I2P)
- fix the subsequent syndication fetches (oops - thanks bar)
2007-03-13 19:12:59 +00:00
jrandom
52d0cac815 db shutdown can take a while (especially if it is compacting the db), so on
exit, run the db shutdown outside the SWT thread (so the SWT thread can dispatch
the necessary events to close the window)
2007-03-13 16:04:24 +00:00
jrandom
31fff181bf toss up an error window on login failure (which happens if the db is corrupt) 2007-03-13 15:49:27 +00:00
jrandom
d527c11dc0 - every 10 times we shutdown, defrag the database
- fix the handling for 'unlimited' send age
2007-03-13 12:27:32 +00:00
jrandom
63f2dda963 disable the 30s timeout on startup, as db recovery could take that long on
a slow machine (and the timeout is there only for pre-1.0 users, really)
2007-03-13 01:30:31 +00:00
jrandom
aee960a5e1 lets not b0rk too hard on new instances... (oops) 2007-03-12 16:02:46 +00:00
jrandom
c9ae9bf998 more aggressive bad-data guards 2007-03-12 15:55:27 +00:00
jrandom
71b7fbc1e0 cut down on some simpletimer use (instead using swt's timer)
streamlined the status bar a bit (replacing getChannel with more specific calls)
2007-03-12 12:32:32 +00:00
jrandom
33f548d899 further speed optimizations:
- cache the intermediate data gathered while building the threads in the backend
  to display it later in the gui (rather than requery the db per row)
- show the splash quicker by using swt's optimized file-based image loader
2007-03-12 00:37:03 +00:00
jrandom
6277bb9cc5 some profile driven speed optimizations to cut some time out of the gui thread
when browsing threads
2007-03-11 21:44:22 +00:00
jrandom
35593061d6 handle the spellchecker window being dismissed other than through the cancel button
(thanks Fibonacci's brownies)
2007-03-11 17:52:16 +00:00
jrandom
6bad8fe471 - more aggressively short circuit importing messages/meta if we already have what
they contain (in a decrypted form)
- increase the page editor undo buffer to 200 changes from 20 changes, as the
  changes are often single keys (except for copy/paste/etc)
2007-03-11 00:54:21 +00:00
jrandom
809aa5150c - invert the log tab so it has the most recent messages at the top (avoiding some
funky gtk performance issues when adjusting the selection rapidly to scroll to the
  bottom)
- minor profiled gc/alloc reductions
2007-03-10 23:53:10 +00:00
jrandom
c9a13b7ce2 let ^L work when viewing a message's attachment too (putting the image up fullscreen) 2007-03-10 20:49:02 +00:00
jrandom
62d51eda99 more aggressive safeguards and logging on the message import thread 2007-03-10 16:29:38 +00:00
jrandom
ca1d62da32 enable configuring the max message age to send, rather than just hardcoding a
value of 1 week (as *cough* some people have to use net cafe computers with b0rked
clocks that aren't configurable).  might even be worth enabling the i2p clock stuff...
2007-03-10 15:53:36 +00:00
jrandom
11bc1ae279 - now that we have some undo buffers that don't try to use the full
state, drop all but the most recently saved message editor state
- some basic oom guards/handlers
- enable handling syndie URIs that reference specific attachments by
  jumping to the attachment
- use swt's optimized from-disk image loading where possible by
  writing out in-memory images to disk (in the syndie temp dir), loading
  them, then deleting the files
- as the from-disk loading is 10-50x faster than in memory loading,
  there isn't much need to defer the attachment viewing, so load them up
  on message load
2007-03-10 15:26:33 +00:00
jrandom
bee6709cd4 render unknown messages in a different font (courier italics). those with
customized themes may need to reset their theme (view->style->reset style)
for it to look consistent with the other fonts
2007-03-09 15:39:51 +00:00
jrandom
c13fc87a83 add an undo/redo buffer for the changes on messages, triggered with ^Z/^Y
respectively.  It keeps the last 20 changes in memory for each page.  note that
it only tracks the textual changes - it does not track attachments, headers, or
other settings
2007-03-09 15:26:54 +00:00
jrandom
f600bfaabf mark not locally known messages as such in the message tree [ticket:257] 2007-03-09 14:17:09 +00:00
jrandom
5bab8bfa4b note the charset of webrips and reencode them into UTF-8. this only looks
for the HTTP charset headers (Content-Encoding / Charset / Content-Type) - it
does not parse out the HTML for a meta http-equiv value.  is this sufficient
in the wild, or do we need to attempt parsing?
2007-03-08 23:05:22 +00:00
jrandom
2d5bda845d small layout fix 2007-03-08 22:08:43 +00:00
jrandom
b65ae8bf65 - support customizing the number of days back to fetch from an archive as part
of the policy (though using anything but the default has anonymity implications)
- include a "pull only" from the standard archive (directly) option by default 
on new installs, and set it to schedule recurring pulls by default. this should help 
improve the out of box experience.  these 'default' archives are only added to users
who don't have any other archives, so when we have tools to package up custom syndie
installs w/ other archives & bundled messages/refs/etc, they won't be used
2007-03-08 21:25:14 +00:00
jrandom
7aec8faf98 when browsing a single forum, include the forum's references in a drop down
as part of the metadata (name, avatar, description, etc).  this lets the forum
manager include any FAQs / etc that they want everyone to see up top [ticket:22]
2007-03-08 01:40:50 +00:00
jrandom
f37e5ea09a advertise, not advertize [ticket:251] 2007-03-08 01:13:51 +00:00
jrandom
810da6c314 more aggressively include a readable value for the forum matching the search results 2007-03-08 01:05:09 +00:00
jrandom
826a119f97 new feature to publish all of the channel's read keys, including expired and
private ones (triggered when managing a forum, viewing the "read posts" section,
selecting "anyone can read posts", and then "apply retroactively").  this does
not affect PBE encrypted posts.
2007-03-07 20:33:49 +00:00
jrandom
6db8245822 enable "mark forum read" when a forum as a whole is selected in the tree
[ticket:262]
2007-03-07 19:52:59 +00:00
jrandom
073b408c7f only show the "reply to forum" button/link/item/etc when the user has at least one
nym who is authorized to do so [ticket:260]
2007-03-07 19:49:01 +00:00
jrandom
bb34bf1bf9 more aggressively avoid dups of bookmarks in the same category (comparing
their full target URI) [ticket:59] [ticket:256]
2007-03-07 19:06:55 +00:00
jrandom
e349440fab - dodge an npe for forums w/ no name
- when doing a bulk import, remember to read meta before msgs
- disable the status bar refresh while doing bulk imports and during syncs
2007-03-07 14:23:32 +00:00
jrandom
4747e99ebb bulk file import menu item (recursively going through directories for all .syndie files)
(as opposed to setting up a syndie file:// archive to do this)
2007-03-07 12:52:52 +00:00
jrandom
d5acb7a135 get the quote button into a more reasonable state for handling nested quotes 2007-03-06 23:05:57 +00:00
jrandom
6b61ccd8a8 basic support for nested quotes (fixing some other nesting issues), but the quote
button on the message editor doesn't build quote HTML with nesting yet
2007-03-06 17:03:29 +00:00
jrandom
44e1868a60 expand the thread subtab fully by default
show the right date field in the thread subtab, based on the user's preference
2007-03-06 15:42:00 +00:00
jrandom
ae6106a8c8 - fix the PBE handling for implicitly authorized posts (those made in response to
authorized posts when the forum allows authorized replies, etc).
- differentiate "author is bookmarked" from "forum is bookmarked" [ticket:44]
2007-03-06 15:33:31 +00:00
jrandom
5234902632 more careful tab icon management, and properly include the browse tab in the list of
indisposable images (so closing the tab doesn't cause everything to b0rk...)
2007-03-05 21:02:20 +00:00
jrandom
606b99fda4 run the HTTP fetches in parallel where possible (all meta before any posts),
and run the imports of those fetches async
2007-03-03 18:21:06 +00:00
jrandom
51a1d4b549 save the work for the new packaging calls, though not yet used as the standard and not mentioned in the build docs 2007-03-03 16:39:51 +00:00
jrandom
5feb92be57 oops, fixed the compile (thanks y'all) 2007-02-23 21:42:36 +00:00
jrandom
a701c7da12 more carefully offer menu options when browsing multiple forums [ticket:43] 2007-02-23 08:05:52 +00:00
jrandom
6733f448b8 handle multiple concurrent instances more gracefully (throwing up an error
dialog on failure) [ticket:223]
2007-02-23 04:34:43 +00:00
jrandom
bd6d8d08be - allow large pages (up to max message size, even if its unreasonable)
- substantially improve page rendering performance when faced with large messages.
  e.g. swt could spend 12 minutes calculating the bounds of the StyledText, but now
  if we just set an explicit caret, it takes 6 seconds
- add in a small main method for the PageRenderer for testing
2007-02-23 03:44:49 +00:00
jrandom
bf94c82c70 submit the password form on return [ticket:125] 2007-02-23 01:29:08 +00:00
jrandom
eb03fb6ef7 clear up a bunch of [ticket:87]:
- add close all/close other tabs option
- rename the bookmark menu "view" and put the style and language menus underneath it
- change the language "default" to "English"
- delete bookmarks on the delete key too
2007-02-23 01:14:57 +00:00
jrandom
7978d339b7 make sure the name of the archive is set [ticket:51] 2007-02-23 00:29:41 +00:00
jrandom
5e9439d13e the "is bookmarked" flag is based on the author, not the target forum [ticket:44] 2007-02-23 00:16:07 +00:00
jrandom
9c93345b7c update the sizes (thanks Ch0Hag) 2007-02-22 00:05:34 +00:00
735 changed files with 130141 additions and 40412 deletions

66
.github/workflows/sync.yaml vendored Normal file
View File

@@ -0,0 +1,66 @@
# GitHub Actions workflow file to sync an external repository to this GitHub mirror.
# This file was automatically generated by go-github-sync.
#
# The workflow does the following:
# - Runs on a scheduled basis (and can also be triggered manually)
# - Clones the GitHub mirror repository
# - Fetches changes from the primary external repository
# - Applies those changes to the mirror repository
# - Pushes the updated content back to the GitHub mirror
#
# Authentication is handled by the GITHUB_TOKEN secret provided by GitHub Actions.
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Validate Github Actions Environment
run: if [ "$GITHUB_ACTIONS" != "true" ]; then echo 'This script must be run in a GitHub Actions environment.'; exit 1; fi
- name: Checkout GitHub Mirror
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |-
git config user.name 'GitHub Actions'
git config user.email 'actions@github.com'
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Sync Primary Repository
run: |-
# Add the primary repository as a remote
git remote add primary https://i2pgit.org/I2P_Developers/i2p.syndie.git
# Fetch the latest changes from the primary repository
git fetch primary
# Check if the primary branch exists in the primary repository
if git ls-remote --heads primary master | grep -q master; then
echo "Primary branch master found in primary repository"
else
echo "Error: Primary branch master not found in primary repository"
exit 1
fi
# Check if we're already on the mirror branch
if git rev-parse --verify --quiet master; then
git checkout master
else
# Create the mirror branch if it doesn't exist
git checkout -b master
fi
# Force-apply all changes from primary, overriding any conflicts
echo "Performing force sync from primary/master to master"
git reset --hard primary/master
# Push changes back to the mirror repository
git push origin master
name: Sync Primary Repository to GitHub Mirror
"on":
push: {}
schedule:
- cron: 0 0 * * *
workflow_dispatch: {}

21
.mtn-ignore Normal file
View File

@@ -0,0 +1,21 @@
# Just to try and prevent some noob disasters.
# Use mtn add --no-respect-ignore foo.jar to ignore this ignore list
_jsp\.java$
\.bz2$
\.tar$
\.class$
\.diff$
\.exe$
\.gz$
\.jar$
\.out$
\.patch$
\.sig$
\.tar$
.\deb$
\.zip$
^\.
^build
~$
/build
override.properties

25
.tx/config Normal file
View File

@@ -0,0 +1,25 @@
[I2P.Syndie]
source_file = locale/messages_en.po
source_lang = en
trans.de = locale/messages_de.po
trans.el = locale/messages_el.po
trans.es = locale/messages_es.po
trans.fi = locale/messages_fi.po
trans.fr = locale/messages_fr.po
trans.it = locale/messages_it.po
trans.nb = locale/messages_nb.po
trans.nl = locale/messages_nl.po
trans.pl = locale/messages_pl.po
trans.pt = locale/messages_pt.po
trans.pt_BR = locale/messages_pt_BR.po
trans.ro = locale/messages_ro.po
trans.ru_RU= locale/messages_ru.po
trans.sv_SE = locale/messages_sv.po
trans.tr_TR = locale/messages_tr.po
trans.uk_UA = locale/messages_uk.po
trans.zh_CN = locale/messages_zh.po
type = PO
[main]
host = https://www.transifex.com

528
CHANGES
View File

@@ -1,5 +1,533 @@
[Version key: $major.$minor$type, $type: a(lpha), b(eta), r(elease)c(andidate)]
* 2016-10-19 1.10tbd (zzz)
- Debian packaging fixes
* 2016-08-14 1.107b-0 (zzz)
- Add 'Lazy Edward' default archive
* 2016-08-09 1.106b-4 (zzz)
- Clean up 'find forums' popup, add icons to buttons,
improve message count and last post columns
- Revert to SWT 3.8.2 20130131
- Translation updates
- New translations: Finnish, Norwegian Bokmal
* 2016-06-21 1.106b-3 (zzz)
- Database speedups and caching
- Speed up calculation of unread messages, which was stalling the UI
- Fix Unread button, broken in 1.106b-2
- Show message dates, not import dates, in Private Msgs button
- Consistent placement for Cancel/OK buttons, add icons to buttons
- Add icons to status bar and search buttons
- More fixes for possible database corruption
* 2016-06-19 1.106b-2 (zzz)
- Fix database corruption in 1.106b-1
- Increase parallel fetches to 5
- Locking on SyncManager archives and listeners
- Use queue for DataImporter
- Persist language preference in the database
- Case-insensitive sort of forums in all-forums view
* 2016-06-18 1.106b-1 (zzz)
- Eliminate dependency on deprecated Sha256Standalone and HMAC256Generator
- Allow pushing without "http://" (ticket #1137)
- Update to SWT 4.5 (ticket #1297)
- Update to HSQLDB 2.3.4
- Update to i2p.jar 0.9.26
- Control Server: Flush output stream (thx EinMByte https://github.com/i2p/i2p.syndie/issues/2)
- Update banlist, default archives, and URLs for the I2P, Tor, and Frost sites
- Update toolbar icons with higher quality versions courtesy of hummingbird
- Fix HTTPServ AIOOBE (ticket #1282)
- Sync buttons sync all or selected (ticket #1233) (thx hikiko)
- Refactor and fix freenet support (ticket #1424) (thx hikiko)
- Fix NPE in sortFiles() urn:syndie:channel:d7:channel44:MrsSwvkmnhkgujdeWHdRVX~1VAnMM9slpHRRjDg6Szs=9:messageIdi1421552448706ee
- Fix NPE at shutdown
- Enable clearnet https archives
- Remove duplicate channels in database
- Increase default pull strategy to 3 months
- Remove mac32 build target
- Lots of code cleanup
- Add support for translation country variants
- Translation updates
- New translations: Greek, Italian, Dutch, Brazilian Portuguese, Ukrainian, Chinese, Turkish
* 2014-01-20 1.105b-0 (kytv)
- French translation updates
- New Romanian translation
* 2013-11-18 1.104b-7-rc (kytv, zzz)
- Update to SWT 3.8.2 20130131
- Disable clearnet SSL, not available until I2P 0.9.9
- Translation updates: French, Portuguese, Russian
- Fix NPE in SyndieTreeListener
* 2013-10-28 1.104b-6-rc (zzz, kytv)
- Add clearnet SSL fetch support
- Translation updates: French, Spanish
- New translations: Portuguese, Polish
* 2013-10-23 1.104b-5 (zzz)
- Don't display PBE messages after deletion
- Add menu item to delete PBE messages and forums
- Add keyboard shortcuts in message view tab
* 2013-10-21 1.104b-4 (zzz)
- Fix dup archive in Syndicator Tab after rename
- Reduce default pull policy to 14 days
- Only pull indexes needed for pulled messages
* 2013-10-21 1.104b-3 (zzz)
- Fix cause of DB corruption / dup forums in -2
- Fetch messages newest-first
* 2013-10-15 1.104b-2 (zzz)
HSQLDB 2, DB upgrades, LOBs:
- hsqldb 2.3.1
- Update to DB version 25:
- Add LOBs for attachments and pages
- Increase length limits on cancelledURI, headerValue, and others
- Implement offline database backup
- Backup database before upgrading to hsqldb 2.x
- Add code to migrate large things to LOBs
- Enable migration of large attachments and pages to LOBs
- Implement retrieval of pages and attachments from LOBs
- Implement getAttachmentAsStream for real (unused yet)
- Implement storage to LOBs in ImportPost
- Sleep a while before shutdown compact
- Shutdown compact immediately after upgrade, then reconnect,
as recommended by hsqldb
- Ignore shutdown compact error after upgrade, just reopen anyway,
but unlikely to work
- Use attachment size from messageAttachment table,
not actual size from messageAttachmentData table
Other:
- Fix NPE when using 1.8 jar
- Fix, or maybe just move, NPE in addURI/getURI
- More db things package private
- Use DataHelper.loadProps() to deserialize properties UTF-8-safely
- Add script for the hsqldb database manager tool
- SQLTab tweaks
- Translation updates: French, Spanish, Swedish
* 2013-02-10 1.104b-1 (zzz)
GUI Improvements:
- Don't open message view tab for unreadable messages or stub messages
- Don't fail on duplicate cancel requests
- Fix BrowseForumTab text on forum with blank name
- For consistency, always put cancel button to the left of OK/Save
- Move message date to date column in syndicator tab
- Better formatting of file sizes in Syndicator tab
- Clean up internal error popup
- Catch dispose errors when changing translation or theme
Syndication:
- Improve import failure propagation and display
- More cleanup of Importer and enhanced ImportResults by passing
missing key and PBE indications in result code
- Simplification of SyncArchive.IncomingAction using Results
- Handle and display "stub" cancel messages correctly
- Early check for banned target in ImportPost
Other:
- More code refactoring
* 2013-02-03 1.103b-0 (kytv, zzz)
GUI Improvements:
- NymChannelTree forum display clean-up
- BugReport clean-up
Translations:
- Translation updates for Spanish, Swedish, and Russian
- German translation completed
Fixes:
- Don't spellcheck numbers
Build:
- Translation fixes
- New build targets
* 2013-01-31 1.102b-13 (kytv, zzz)
GUI improvements:
- Add language selection page to Wizard
- Repopulate Browser menu after language change
- Doubleclick on left headers and bookmark subfolders to expand/collapse
- Shorten public/private reply menu items and make consistent
- Disable public reply to a private message in menus
- Hide unimplemented 'delete read messages' and 'delete all messages' menu items
- Name tabs by filename in MessageEditor
- Disable remove page and remove attachment icons when not valid
- Don't display 'last post' times in the 'find forums' popup when we only store dates in the DB
- Rename browse-all-forums tab
- Re-enable spell checker so it can be improved
- Add spell checker local word list
- Fix spell replace deleting next char
- Hide external link buttons for internal and external browser as they are neither configurable nor safe
Build:
- Fix plugin versioning
* 2013-01-27 1.102b-12 (kytv, zzz)
GUI improvements:
- Icon and button tweaks for consistency
- Add margins on PageRenderer
- Add wizard icon
- Support opening external links in external browser
- Add experimental in-Syndie web browser
- Partial translation for Russian
Fixes:
- Fix problems with caching nym prefs
Build:
- New build targets
- Remove HTML classes from CLI jar
Other:
- More code refactoring
* 2013-01-24 1.102b-11 (kytv, zzz)
GUI improvements:
- Partial translations for German, Spanish, Swedish
- Improve attachment tab layout
- Show attachment icon in MessageTree for those with attachments
- Improve quote message
- Set MessageEditorTab text to the subject
- Warn if no subject on post
- Clean up tooltips for links
- Fix language picker menu
Fixes:
- Fix bug requiring click on attachment 1 to load any attachment
- Fix page down button in last page of message switching to blank thread tab
- Hopefully fix error on view plain text on windows
- Fix listynms hanging CLI
Build:
- Plugin and translation build fixes
Other:
- Add warning about CLI + httpserv
- Don't load attachments into memory unless displayable
- Don't keep attachment data in memory; reload if saving
* 2013-01-21 1.102b-10 (kytv, zzz)
GUI improvements:
- Add expand/collapse-all buttons and menu items to MessageTree;
enable/disable expand/collapse-thread/all-buttons/menus as appropriate;
add icons to some buttons; better layout of buttons
- Set MessageEditorTab text to the subject
- Warn if no subject on post
- Fix language picker menu
- Make quoted text background lighter
- Fix StyledTextChooser initial color button colors, and showing gray-on-gray sample text when changing styles
- Change reference tab icon to the link icon
- Get more processing off the UI thread so the UI will be respond faster at startup
- Add icons to MessageEditor tabs
- Set icon on MessageView reply button
Fixes:
- Fix disable image NPE (again)
- Fix Syndicator NPE
Other:
- Increase JobRunners to 4; decrease SyncOutbundPushers to 2
- Restrict permissions on .syndie dir
- Add warning about CLI + httpserv
* 2013-01-19 1.102b-9 (kytv, MOSFET, zzz)
GUI improvements:
- Clear 'search term' and enable/disable button automatically in NymChannelTree
- Finish tag cleanup - capitalization, symbols, spelling, spaces, consistency
- Note meta fetch/pulls on syndicator tab
- Add up/down arrow support to TextUITab
- Fix coloring issues in TextUITab
- Increase buffer size in TextUITab
- Better formatting of multiline messages in TextUITab
- Change SQL, Log, and UI tabs to monospace font
- Show completed count for fetches/pulls
Fixes:
- Fix in-progress fetch count for unknwon reply key
- Fix keyimport NPE if missing arg
- Fix CLI recovery after RuntimeException
- Clean up streams correctly when loading/storing Enclosures
Syndication:
- Change default pull policy from 6 months to 2 months
- Fix reimporting of messages with unknown read/reply keys
Build:
- Fix classes in Desktop causing dependency warnings
Other:
- Preliminary support for standard URI query encoding
- Update English PO file, ready for translation
- Add help for missing CLI and TextEngine commands
- More CLI help improvements, add aliases and shortcuts to menus, sorting, cleanup
- Add CLI 'no such menu' error
- Improve keylist CLI
- Fix command history issues
- Add two python script attachments from MOSFET's control server patch
- Add more default archives
- Implement backup of nymkeys and meta.syndie at db creation
- Add default bans at db creation
* 2013-01-17 1.102b-8 (kytv, MOSFET, zzz)
GUI improvements:
- Fixes in syndicator tab when there are no archives defined
- Fix bold and italic in default font
- Enable cancel and close in wizard
- Focus on finish button on last panel in wizard
- Display dates by message ID (not import date) by default
- Show help popup by default after posting message
- Add stack trace to internal error popup
- Start work on a help tab
- Put icons on MessageViewBody tabs
- Set italic font for unspecified author and forum on MessageView
- Don't show unread flag on MessageFlagBar, since you're looking at the message
Fixes:
- Fix NPE when viewing URI with a page number and the message is unknown locally
- Fix NPE on right-click disable images in PageRenderer
- Fix ManageForum avatar display
Syndication:
- Fix createEdition to always create a date in the recent past,
unless the replied-to date is in the future.
Ensure later than replied-to date if a reply.
Also prevent looping forever on bad dates.
Build:
- Make fonts a little larger (suggested)
- Reorder deps in pkg-all target
- Create launcher shellscripts for Linux
Other:
- Implement running a script when the db is created
- Implement importing of keys and posts at db create, for all UIs (was just Desktop)
- Add channel bans at db create
- More lenient parsing of URIs
- Added ctrlserv command to launch control server listener
- Cache hashes and keys where possible
- Create table in the db that was missed in db version 23. bump db rev to 24.
- Enclosure.main (dumpsyndie) improvements (decode body if body key available, show ident hash)
- Fix broken links to *.i2p.net in docs
- Remove unused servlet.jar
- Add missing licenses
- Correct outdated info/instructions
* 2013-01-14 1.102b-7 (kytv, zzz)
GUI improvements:
- Fix avatar chooser menu if images are not displayed
- Add more menu accelerators
- 'Open Syndie URI' popup error handling
- Yet more standardization of forum/author, in MessageTree
- Change default display filter from 6 months to 10 years (i.e. all)
- More status bar improvements for buttons with only one item
Syndication:
- More fixes for repeated-push problem.
- Fix class cast error on cancel lists
- Change rebuild time back to 1 hour from 4
- Fix decoding of password-protected messages. ImportPost tried to delete
Build:
- Update bundled hsqldb to 1.8.1.3
- Add OSX installers (previously there were just app bundles)
- fix desktop launchers in Unix
Other:
- Add scripts for dumping index and syndie files
* 2013-01-12 1.102b-6 (kytv, zzz)
GUI improvements:
- Revert shuffling of push/pull order with a single archive,
as it made the UI messier, debugging harder, and may have
other side effects
- Fix display for fetch index that has never succeeded
- Don't call SyncListeners for added unless really added
Syndication:
- Fix multiple pushes of the same data after a not-modified index fetch
- Fix sync-completed tracking which could prevent future pushes
- Fix format of last-modified header to use strictest RFC 822
Build:
- OSX fixes
* 2013-01-11 1.102b-5 (kytv, zab, zzz)
GUI improvements:
- New font selector
- Use monospace font for text messages
- UI Tab improvements
- More consistency in display of forum and author identies
- Fix save and restore of font changes
- Fixes for banned channel display and management
- Fix NPE in desktop message editor
- Don't maximize desktop on startup
Build:
- More work on installers and packages
- Add support for translations
Other:
- Redesign translation infrastructure to use I2P's library,
in preparation for translations via po files
- Fix NPEs in CLI
- Fix argument processing in CLI main
* 2013-01-09 1.102b-4 (kytv, zzz)
GUI improvements:
- Display localized dates
- Display apparent date (message ID) rather than import date in most places
- Better sorting (localized, case-insensitive)
- Spacing on message flag bar icons
HTTP Server:
- Send and parse last-modified headers
- Add default favicon.ico and robots.txt to reduce server errors
- Move web files from archive/ to web/
- Return 404 instead of index on bad requests
Syndication:
- Store fetched index file for reuse if server cannot be
contacted or returns 304
- Continue syndication even if index has not been modified
- Fix pushes (broken in -3)
Build:
- Prep for installers and packages
Other:
- Fix disposed SWT exceptions on cancel
- Restrict permissions on all files and directories
* 2013-01-08 1.102b-3 (kytv, zab, zzz)
GUI improvements:
- Add background image to browsser tab during startup
- Speed up browser tab display at startup by several seconds,
by putting new message search into a JobRunner thread
- Sort forums in new message button
- Display SyndicatorTab on startup if we closed with no tabs
- Limit number of old tabs displayed on startup
Fixes:
- Fixes to reduce the number of messages pushed to archives:
Use the apparent message date instead of the import date to determine what's too
old to push, so we don't push ancient stuff we just pulled to another server.
Fix bug where max age was multiplied by 7.
HTTP Server:
- Reject requests via inproxies
Build:
- OSX fixes
- Several new targets, cleanups
- Remove 1.3 MB of desktop help files
* 2013-01-07 1.102b-2 (zzz)
Default changes for better new experience:
- Change default display filter from 6 months to 10 years
GUI improvements:
- Better feedback in SyndicatorTab by adding
progress and total size in bytes for message and index fetches.
Total size only listed for pushes (for now).
- Change page header if no items to display in MessageTree,
so you don't think maybe it's loading.
- Add message counts and other info to ReferenceChooserTree;
change font based on message count
- Add message counts to StatusBar new messages popup
- Try to display channels consistently in the bottom status bar popups
and the ReferenceChooserTree
- Mark a message as read when you read it (change default to true)
Fixes:
- Catch 'widget is disposed' exceptions,
possibly preventing pushes from working
Build:
- Add depend task for better dependency checking
- Don't copy data files to build dir
* 2013-01-06 1.102b-1 (zzz)
Default changes for better new experience:
- Change default master sync time from 24 + 0-24 hours to 5 + 0-1
- Change default archive sync time from 24 hours to 4 hours
- Change default pull policy from server's time to 6 months
- Change default search and display filters from 1 week to 6 months
- Add more filter age options
- Update default archives
- Set default i2p archives to auto-sync
GUI improvements:
- Improve wizard text
- Re-enable spellcheck (still doesn't work though)
- Limit number of fetches or pushes shown, to not slow down the UI too much
- Detailed interactive status in fetches and pushes section
Fixes:
- Fix wizard screen width (ticket #461)
- Fix NPE when viewing a draft on a banned forum
- Fix HTTP Server error (SocketTimeout incompatibility with older i2p.jar)
- Fix error posting private messages
- Fix occasional failure of httpserv at startup
- Fix "Data already set" internal error when importing posts with
hidden authors and an authentication mask
Sync improvements:
- Randomize order of archives when syncing
Build:
- Move all bundled resources from src/ to data/
Other:
- Clean up some expensive debug logging
* 2009-02-19 1.101a-mf6 fix (duh)
- got rid of the syndie.i2p.net references in here, so syndie will stop leading people to them.
* 2008-02-04 1.101a-mf6 released (mosfet)
- added all known archives to default archive list and commented out all archives not known to be accessible
- ask for confirmation before posting an empty message
- added 'Schedule sync' to Syndicator context menu
- display last sync time of 'Fetch index' in Syndicator rather than scheduled time
- added support for serving arbitrary files from the HTTP server. If the directory 'dist'
exists in the instance root directory ($HOME/.syndie), any files within this directory
will be served from the path '/dist/$fileName'. The HTTP server scans this directory
for files to serve when it is started.
- browser: added configuration wizard to set up a new instance's default identity and syndicates
- browser: added Preview button to message editor
- browser: added 'Mark Read', 'Mark Thread Read', Refresh, 'Expand Thread' and 'Collapse Thread' buttons to MessageTree tab
- browser: added 'Sync Now' and 'Sync Now (one time only)' buttons to Syndicator tab
- browser: added 'Run on startup' option to 'Configure HTTP archive server' dialog
- browser: show Manage and Post buttons in MessageTree tab when you posses the private keys of the forum
- browser: revert 1.101a-an3 MessageTree message context menu reorder
* 2008-01-21 1.101a-an5 released (Anonymous)
- set version number appropriately in VERSION file
- switch to browser as default UI
* 2008-01-11 1.101a-an4 released (Anonymous)
- browser: fix NPE introduced in 1.101a-an3 when opening an editor tab
* 2008-01-10 1.101a-an3 released (Anonymous)
- replaced 'Custom date' pop-up window by an editable combobox
- make Message Created Successfully messagebox optional
- browser: message editor toolbar revamped, buttons resized to 32x32 and can be reordered by dragging
- browser: set View->Show Bookmarks check appropriately at launch
- browser: reorder forum browser message context menu
* 2007-12-15 1.101a-an2 released (Anonymous)
- retry failed fetches and pushes on next sync
- start Attach Image FileDialog from the same directory as was used last time
* 2007-12-07 mtn-2007-12-07-complication released (Complication)
- initialize "editor.defaultAuthor" nym preference when a nym is created
* 2007-12-03 1.101a-an1 released (Anonymous)
- accept a wider range of file extentions as images in the Attach Image FileDialog
- honor the user's Min Sync Delay selection
* 2007-09-28 1.101a released
- add message expiration, deletion, and cancellation
* 2007-08-25 1.100a released
- package the new desktop GUI as well as an update to the old tabbed GUI
- improve syndication reliability and concurrency on both the client and
server side
- substantial message editor, message rendering, and thread display
performance improvements
- bugfixes for importing private messages
- add more per-archive syndication configuration options
- upgrade SWT to 3.4M1
- lots of small performance and gui tweaks
* 2007-03-15 1.005a released
- streamline the splash screen loading, status bar updating, and thread
rendering. also includes some minor refactorings to improve GUI
responsiveness. page rendering is also improved for large messages.
- improved image loading performance
- trim the PRNG buffer size from 4MB to 4KB, dramatically cutting startup
load
- add a 200 change undo/redo buffer into the page editor
- handle attachment-specific Syndie URIs
- parallelize the HTTP syndication where possible
- add a direct "pull only" archive to new users, and schedule it up to run
automatically (to ease the out of box experience)
- better subsequent syndication fetch handling
- handle web rips in character sets other than UTF-8 (translating them into
UTF-8 transparently as long as the server sends the encoding/charset type)
- when browsing a single forum, include the forum's advertised references up
top, giving the forum administrator a place to put any FAQs/etc
- support nested quotes
- run the shutdown/exit in another thread so the GUI disappears immediately,
even if the database takes a while to clean up
- approximately every 10 times we shut down, compact the database
- disable the 30 second startup timeout, as slow machines that have to do
some database recovery could exceed that period (and the timeout was only
there for helping pre-1.0 users migrate anyway)
- major internal refactoring to simplify integration with other GUI styles
* 2007-02-21 1.004a released
- heavily reworked HTTP syndication to improve reliability and performance,
and to deal with hung connections better

10
CREDITS
View File

@@ -1,12 +1,18 @@
= Developers:
* jrandom <jrandom@i2p.net> - main dev
* welterde <dev@welterde.de> - main dev
* cervantes - graphics
* HotTuna - html design
* jadeSerpent - icons
= Past developers:
* jrandom <jrandom@i2p.net> - main dev
= QA:
void, Complication, bar, Darn, Anonymous, polecat, mk, jadeSerpent, Fedo,
NickyB, slsk, Comics, abc
= Patches:
hikiko
= Supporters:
* I2P contributors - http://www.i2p.net/halloffame
* I2P contributors - https://geti2p.net/team.html

26
INSTALL
View File

@@ -1,19 +1,19 @@
Syndie can be built from source with a modern (1.4+) java development
kit, or with a new GCJ (4.0+). You must have ant (1.6.5+), and the
source release includes HSQLDB (1.8.0.7), though newer revisions
should work. You will needs SWT as well - grab the latest version for
your OS and architecture from http://www.eclipse.org/swt/ (or from
your favorite package manager).
Syndie can be built from source with a modern (1.6+) java development kit. You
must have ant (1.7+), and the source release includes HSQLDB (2.3.1).
You will need SWT as well--grab the latest version for your OS and
architecture from http://www.eclipse.org/swt/ (or from your favorite package
manager).
First, you need to tell ant where to find SWT - add a line to the
file nbproject/private/private.properties (creating a new directory or
file if necessary):
swt.dir=../swt-I20061214-1445-gtk-linux-x86
(or whatever the path to the directory containing swt.jar is)
I2P and SWT are required to compile Syndie. You could either
- (recommended) set properties to tell the build process where to find
the necessary jar files. See 'build.properties' for more information.
- (not recommended) symlink i2p.jar and swt.jar to ./lib
To build a normal java instance, run "ant"
To build a normal java instance, run "ant pkg". To build a self-contained
syndie.jar that includes the dependencies, run "ant dist".
To run it without any installation, run "ant run"
To run it from within the source directory, use "ant run". To run with the
alternative 'Desktop GUI', use "ant run-desktop".
To deploy your modifications into an existing Syndie install, copy
the new ./lib/syndie.jar to the Syndie install's lib/ directory

72
LICENSE
View File

@@ -2,27 +2,61 @@ Unless marked otherwise, all code and content making up this package
is released into the public domain. Code included in this package
must be under BSD or MIT compatible licenses.
HSQLDB (hsqldb.jar and servlet.jar) are licensed according to
HSQLDB 2.3.1 (hsqldb.jar) is bundled and is licensed according to
lib/hsqldb_lic.txt (BSD-like)
The GNU-Crypto Fortuna PRNG and SHA-256 code is included with
modifications as documented (removing other GNU-Crypto dependencies
and renaming to avoid conflicts with standard GNU-Crypto code). These
files are located under src/gnu/crypto/ and are licensed according to
the GPL with the "linking exception". Since Syndie is not derived
from the referenced PRNG or hash functions, Syndie is not tainted.
The jazzy 0.5.2 spellchecking engine (under src/com/swabunga) is bundled
and is LGPL v2.1 licensed.
The BouncyCastle HMAC and MD5 code is included with modifications
as documented (removing other BouncyCastle dependencies). These
files are located under src/org/bouncycastle/ and are licensed
according to the BouncyCastle license (an MIT-style license).
SWT is used for the GUI, and is either bundled with various installers or is
linked by the end user. The bundled releases are distributed under SWT's terms
(the Eclipse Public License) - see LICENSE-EPL-v1.0.html. Most icons included
in Syndie's GUI come from Eclipse and are licensed under the EPL as well.
The jazzy 0.5.2 spellchecking engine (under src/com/swabunga) is
LGPL licensed.
I2P's core (i2p.jar) is bundled with various installers or is linked by the end
user and is released into public domain except as listed below:
ElGamal and DSA code:
Copyright (c) 2003, TheCrypto
See doc/licenses/LICENSE-ElGamalDSA.txt
SHA256 and HMAC-SHA256:
Copyright (c) 2000 - 2004 The Legion Of The Bouncy Castle
See doc/licenses/LICENSE-SHA256.txt
AES code:
Copyright (c) 1995-2005 The Cryptix Foundation Limited.
See doc/licenses/LICENSE-Cryptix.txt
Crypto filters:
From the xlattice app - http://xlattice.sourceforge.net/
See doc/licenses/LICENSE-BSD.txt
SNTP code:
Copyright (c) 2004, Adam Buckley
See doc/licenses/LICENSE-SNTP.txt
PRNG:
Copyright (C) 2001, 2002, Free Software Foundation, Inc.
See doc/licenses/LICENSE-LGPLv2.1.txt
HashCash code:
Copyright 2006 Gregory Rubin grrubin@gmail.com
See doc/licenses/LICENSE-HashCash.txt
GettextResource from gettext v0.18:
Copyright (C) 2001, 2007 Free Software Foundation, Inc.
See doc/licenses/LICENSE-LGPLv2.1.txt
SSLEepGet:
Contains some code Copyright 2006 Sun Microsystems, Inc.
See doc/licenses/LICENSE-InstallCert.txt
BlockFile:
Copyright (c) 2006, Matthew Estes
See doc/licenses/LICENSE-BlockFile.txt
SipHashInline:
Copyright 2012 Hiroshi Nakamura <nahi@ruby-lang.org>
See doc/licenses/LICENSE-Apache2.0.txt
SWT is used for the GUI, and is either bundled with various installers
or is linked by the end user. The bundled releases are distributed
under SWT's terms (the Eclipse Public License) - see the EPL for more
details at http://www.eclipse.org/legal/epl-v10.html. Most icons
included in Syndie's GUI come from Eclipse and are licensed under the
EPL as well.

261
LICENSE-EPL-v1.0.html Normal file
View File

@@ -0,0 +1,261 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Eclipse Public License - Version 1.0</title>
<style type="text/css">
body {
size: 8.5in 11.0in;
margin: 0.25in 0.5in 0.25in 0.5in;
tab-interval: 0.5in;
}
p {
margin-left: auto;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
p.list {
margin-left: 0.5in;
margin-top: 0.05em;
margin-bottom: 0.05em;
}
</style>
</head>
<body lang="EN-US">
<h2>Eclipse Public License - v 1.0</h2>
<p>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE, REPRODUCTION OR
DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS
AGREEMENT.</p>
<p><b>1. DEFINITIONS</b></p>
<p>&quot;Contribution&quot; means:</p>
<p class="list">a) in the case of the initial Contributor, the initial
code and documentation distributed under this Agreement, and</p>
<p class="list">b) in the case of each subsequent Contributor:</p>
<p class="list">i) changes to the Program, and</p>
<p class="list">ii) additions to the Program;</p>
<p class="list">where such changes and/or additions to the Program
originate from and are distributed by that particular Contributor. A
Contribution 'originates' from a Contributor if it was added to the
Program by such Contributor itself or anyone acting on such
Contributor's behalf. Contributions do not include additions to the
Program which: (i) are separate modules of software distributed in
conjunction with the Program under their own license agreement, and (ii)
are not derivative works of the Program.</p>
<p>&quot;Contributor&quot; means any person or entity that distributes
the Program.</p>
<p>&quot;Licensed Patents&quot; mean patent claims licensable by a
Contributor which are necessarily infringed by the use or sale of its
Contribution alone or when combined with the Program.</p>
<p>&quot;Program&quot; means the Contributions distributed in accordance
with this Agreement.</p>
<p>&quot;Recipient&quot; means anyone who receives the Program under
this Agreement, including all Contributors.</p>
<p><b>2. GRANT OF RIGHTS</b></p>
<p class="list">a) Subject to the terms of this Agreement, each
Contributor hereby grants Recipient a non-exclusive, worldwide,
royalty-free copyright license to reproduce, prepare derivative works
of, publicly display, publicly perform, distribute and sublicense the
Contribution of such Contributor, if any, and such derivative works, in
source code and object code form.</p>
<p class="list">b) Subject to the terms of this Agreement, each
Contributor hereby grants Recipient a non-exclusive, worldwide,
royalty-free patent license under Licensed Patents to make, use, sell,
offer to sell, import and otherwise transfer the Contribution of such
Contributor, if any, in source code and object code form. This patent
license shall apply to the combination of the Contribution and the
Program if, at the time the Contribution is added by the Contributor,
such addition of the Contribution causes such combination to be covered
by the Licensed Patents. The patent license shall not apply to any other
combinations which include the Contribution. No hardware per se is
licensed hereunder.</p>
<p class="list">c) Recipient understands that although each Contributor
grants the licenses to its Contributions set forth herein, no assurances
are provided by any Contributor that the Program does not infringe the
patent or other intellectual property rights of any other entity. Each
Contributor disclaims any liability to Recipient for claims brought by
any other entity based on infringement of intellectual property rights
or otherwise. As a condition to exercising the rights and licenses
granted hereunder, each Recipient hereby assumes sole responsibility to
secure any other intellectual property rights needed, if any. For
example, if a third party patent license is required to allow Recipient
to distribute the Program, it is Recipient's responsibility to acquire
that license before distributing the Program.</p>
<p class="list">d) Each Contributor represents that to its knowledge it
has sufficient copyright rights in its Contribution, if any, to grant
the copyright license set forth in this Agreement.</p>
<p><b>3. REQUIREMENTS</b></p>
<p>A Contributor may choose to distribute the Program in object code
form under its own license agreement, provided that:</p>
<p class="list">a) it complies with the terms and conditions of this
Agreement; and</p>
<p class="list">b) its license agreement:</p>
<p class="list">i) effectively disclaims on behalf of all Contributors
all warranties and conditions, express and implied, including warranties
or conditions of title and non-infringement, and implied warranties or
conditions of merchantability and fitness for a particular purpose;</p>
<p class="list">ii) effectively excludes on behalf of all Contributors
all liability for damages, including direct, indirect, special,
incidental and consequential damages, such as lost profits;</p>
<p class="list">iii) states that any provisions which differ from this
Agreement are offered by that Contributor alone and not by any other
party; and</p>
<p class="list">iv) states that source code for the Program is available
from such Contributor, and informs licensees how to obtain it in a
reasonable manner on or through a medium customarily used for software
exchange.</p>
<p>When the Program is made available in source code form:</p>
<p class="list">a) it must be made available under this Agreement; and</p>
<p class="list">b) a copy of this Agreement must be included with each
copy of the Program.</p>
<p>Contributors may not remove or alter any copyright notices contained
within the Program.</p>
<p>Each Contributor must identify itself as the originator of its
Contribution, if any, in a manner that reasonably allows subsequent
Recipients to identify the originator of the Contribution.</p>
<p><b>4. COMMERCIAL DISTRIBUTION</b></p>
<p>Commercial distributors of software may accept certain
responsibilities with respect to end users, business partners and the
like. While this license is intended to facilitate the commercial use of
the Program, the Contributor who includes the Program in a commercial
product offering should do so in a manner which does not create
potential liability for other Contributors. Therefore, if a Contributor
includes the Program in a commercial product offering, such Contributor
(&quot;Commercial Contributor&quot;) hereby agrees to defend and
indemnify every other Contributor (&quot;Indemnified Contributor&quot;)
against any losses, damages and costs (collectively &quot;Losses&quot;)
arising from claims, lawsuits and other legal actions brought by a third
party against the Indemnified Contributor to the extent caused by the
acts or omissions of such Commercial Contributor in connection with its
distribution of the Program in a commercial product offering. The
obligations in this section do not apply to any claims or Losses
relating to any actual or alleged intellectual property infringement. In
order to qualify, an Indemnified Contributor must: a) promptly notify
the Commercial Contributor in writing of such claim, and b) allow the
Commercial Contributor to control, and cooperate with the Commercial
Contributor in, the defense and any related settlement negotiations. The
Indemnified Contributor may participate in any such claim at its own
expense.</p>
<p>For example, a Contributor might include the Program in a commercial
product offering, Product X. That Contributor is then a Commercial
Contributor. If that Commercial Contributor then makes performance
claims, or offers warranties related to Product X, those performance
claims and warranties are such Commercial Contributor's responsibility
alone. Under this section, the Commercial Contributor would have to
defend claims against the other Contributors related to those
performance claims and warranties, and if a court requires any other
Contributor to pay any damages as a result, the Commercial Contributor
must pay those damages.</p>
<p><b>5. NO WARRANTY</b></p>
<p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
responsible for determining the appropriateness of using and
distributing the Program and assumes all risks associated with its
exercise of rights under this Agreement , including but not limited to
the risks and costs of program errors, compliance with applicable laws,
damage to or loss of data, programs or equipment, and unavailability or
interruption of operations.</p>
<p><b>6. DISCLAIMER OF LIABILITY</b></p>
<p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR
DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</p>
<p><b>7. GENERAL</b></p>
<p>If any provision of this Agreement is invalid or unenforceable under
applicable law, it shall not affect the validity or enforceability of
the remainder of the terms of this Agreement, and without further action
by the parties hereto, such provision shall be reformed to the minimum
extent necessary to make such provision valid and enforceable.</p>
<p>If Recipient institutes patent litigation against any entity
(including a cross-claim or counterclaim in a lawsuit) alleging that the
Program itself (excluding combinations of the Program with other
software or hardware) infringes such Recipient's patent(s), then such
Recipient's rights granted under Section 2(b) shall terminate as of the
date such litigation is filed.</p>
<p>All Recipient's rights under this Agreement shall terminate if it
fails to comply with any of the material terms or conditions of this
Agreement and does not cure such failure in a reasonable period of time
after becoming aware of such noncompliance. If all Recipient's rights
under this Agreement terminate, Recipient agrees to cease use and
distribution of the Program as soon as reasonably practicable. However,
Recipient's obligations under this Agreement and any licenses granted by
Recipient relating to the Program shall continue and survive.</p>
<p>Everyone is permitted to copy and distribute copies of this
Agreement, but in order to avoid inconsistency the Agreement is
copyrighted and may only be modified in the following manner. The
Agreement Steward reserves the right to publish new versions (including
revisions) of this Agreement from time to time. No one other than the
Agreement Steward has the right to modify this Agreement. The Eclipse
Foundation is the initial Agreement Steward. The Eclipse Foundation may
assign the responsibility to serve as the Agreement Steward to a
suitable separate entity. Each new version of the Agreement will be
given a distinguishing version number. The Program (including
Contributions) may always be distributed subject to the version of the
Agreement under which it was received. In addition, after a new version
of the Agreement is published, Contributor may elect to distribute the
Program (including its Contributions) under the new version. Except as
expressly stated in Sections 2(a) and 2(b) above, Recipient receives no
rights or licenses to the intellectual property of any Contributor under
this Agreement, whether expressly, by implication, estoppel or
otherwise. All rights in the Program not expressly granted under this
Agreement are reserved.</p>
<p>This Agreement is governed by the laws of the State of New York and
the intellectual property laws of the United States of America. No party
to this Agreement will bring a legal action under this Agreement more
than one year after the cause of action arose. Each party waives its
rights to a jury trial in any resulting litigation.</p>
</body>
</html>

View File

@@ -1,47 +0,0 @@
#
#GCJ=/u1/mingw32-4.1.0/bin/mingw32-gcj
#GCJ=/u1/mingw32/bin/mingw32-gcj
#GCJ=/u1/mingw32-4.2-20060506/bin/i386-pc-mingw32-gcj
GCJ=gcj
EXECUTABLE=syndie.exe
OPTIMIZE=-O2
GCJFLAGS=-g ${OPTIMIZE} -fjni -Wall
DLLFLAGS=-shared -Wl,--kill-at -Wall
I2P_JAR=lib/i2p.jar
SYNDIE_JAR=lib/syndie.jar
SERVLET_JAR=lib/servlet.jar
all: ${EXECUTABLE}
hsqldb_gcj.jar:
make -f Makefile.nix hsqldb_gcj.jar
hsqldb_gcj.o: hsqldb_gcj.jar
${GCJ} ${GCJFLAGS} -c -o hsqldb_gcj.o ${SERVLET_JAR} hsqldb_gcj.jar
clean:
@rm -f ${SYNDIE_JAR} syndie.o
@rm -f ${EXECUTABLE}
distclean: clean
@rm -f hsqldb_gcj.o i2p.o
@rm -rf hsql hsqldb_gcj.jar
@ant clean
@rm -rf logs
${SYNDIE_JAR}:
@echo "Compiling syndie"
ant -q jar
syndie.o: ${SYNDIE_JAR}
${GCJ} ${GCJFLAGS} -c --classpath=${I2P_JAR} ${SYNDIE_JAR}
${EXECUTABLE}: hsqldb_gcj.o syndie.o
${GCJ} -g -o ${EXECUTABLE} \
-Lwin32 -o ${EXECUTABLE} \
-Wl,--enable-runtime-pseudo-reloc \
--main=syndie.db.TextUI -mwindows hsqldb_gcj.o syndie.o
test:
${GCJ} ${GCJFLAGS} -static-libgcj -o t.exe --main=t t.java

View File

@@ -1,60 +0,0 @@
#
#GCJ=/u1/mingw32-4.1.0/bin/mingw32-gcj
#GCJ=/u1/mingw32/bin/mingw32-gcj
GCJ=/u1/mingw32-4.2-20060506/bin/i386-pc-mingw32-gcj
EXECUTABLE=syndie.exe
OPTIMIZE=-O2
GCJFLAGS=-g ${OPTIMIZE} -fjni -Wall
DLLFLAGS=-shared -Wl,--kill-at -Wall
I2P_JAR=lib/i2p.jar
SYNDIE_JAR=lib/syndie.jar
SERVLET_JAR=lib/servlet.jar
all: ${EXECUTABLE}
hsqldb_gcj.jar:
@make -f Makefile.nix hsqldb_gcj.jar
hsqldb_gcj.o: hsqldb_gcj.jar
${GCJ} ${GCJFLAGS} -c -o hsqldb_gcj.o ${SERVLET_JAR} hsqldb_gcj.jar
hsqldb_gcj.dll: hsqldb_gcj.o
${GCJ} ${DLLFLAGS} -o hsqldb_gcj.dll hsqldb_gcj.o
i2p.o: ${I2P_JAR}
${GCJ} ${GCJFLAGS} -c -o i2p.o ${I2P_JAR}
i2p.dll: i2p.o
${GCJ} ${DLLFLAGS} -o i2p.dll i2p.o
clean:
@rm -f ${SYNDIE_JAR} syndie.o syndie.dll
@rm -f ${EXECUTABLE} syndie.o syndie.dll
distclean: clean
@rm -f hsqldb_gcj.o i2p.o
@rm -f hsqldb_gcj.dll i2p.dll
@rm -rf hsql hsqldb_gcj.jar
@ant clean
@rm -rf logs
${SYNDIE_JAR}:
@echo "Compiling syndie"
@ant -q jar
syndie.o: ${SYNDIE_JAR}
@${GCJ} ${GCJFLAGS} -c --classpath=${I2P_JAR} ${SYNDIE_JAR}
syndie.dll: syndie.o
${GCJ} ${DLLFLAGS} -L. -lhsqldb_gcj -li2p -o syndie.dll syndie.o
${EXECUTABLE}: hsqldb_gcj.dll i2p.dll syndie.dll
${GCJ} -g -o ${EXECUTABLE} \
-L. -L${SWT_LIBDIR} -Lwin32 \
-lhsqldb_gcj -li2p -lsyndie -o ${EXECUTABLE} \
-static-libgcj -mwindows \
--main=syndie.db.TextUI
test:
${GCJ} ${GCJFLAGS} -static-libgcj -o t.exe --main=t t.java

View File

@@ -1,62 +0,0 @@
#
# $os version:
GCJ=gcj
#GCJ=/u1/gcc-4.2-20060520-x86_64/bin/gcj
EXECUTABLE=syndie
GCJFLAGS=-g -O2 -fPIC -fjni -Wall
CURVERSION=`cat VERSION | cut -d= -f2`
PKGEND="nix.tar.bz2"
all: syndie
hsqldb_gcj.jar:
@rm -rf hsql
@mkdir hsql
@echo "building GCJ-friendly hsqldb_gcj.jar"
@(cd hsql ;\
jar xf ../lib/hsqldb.jar ;\
rm -f org/hsqldb/util/DatabaseManager*.class \
org/hsqldb/util/TableSorter*.class \
org/hsqldb/HsqlSocketFactorySecure.class \
org/hsqldb/persist/NIOLockFile.class \
org/hsqldb/util/*Swing*.class ;\
jar cfm ../hsqldb_gcj.jar META-INF/MANIFEST.MF *class org ;\
)
hsqldb_gcj.o: hsqldb_gcj.jar
${GCJ} ${GCJFLAGS} -c -o hsqldb_gcj.o lib/servlet.jar hsqldb_gcj.jar
clean:
@rm -f lib/syndie.jar syndie.o
@rm -f ${EXECUTABLE} syndie.o
distclean: clean
@rm -f hsqldb_gcj.o
@rm -rf hsql hsqldb_gcj.jar
@rm -rf syndie-${CURVERSION}
@rm -f syndie-${CURVERSION}.${PKGEND}
@rm -f doc/web/dist/syndie-${CURVERSION}.${PKGEND}
@ant distclean
@rm -rf logs
lib/syndie.jar:
@echo "Compiling syndie"
@ant -q jar
syndie.o: lib/syndie.jar
${GCJ} ${GCJFLAGS} -c lib/syndie.jar
${EXECUTABLE}: hsqldb_gcj.o syndie.o
${GCJ} ${GCJFLAGS} -o ${EXECUTABLE} --main=syndie.db.TextUI hsqldb_gcj.o syndie.o
package: ${EXECUTABLE}
@ant -q prep-java
@rm -f syndie-${CURVERSION}/bin/syndie
@rm -f syndie-${CURVERSION}/bin/syndie.bat
@rm -f syndie-${CURVERSION}/lib/*jar
@strip ${EXECUTABLE}
@cp ${EXECUTABLE} syndie-${CURVERSION}/bin/
@mkdir -p doc/web/dist
@tar cjf doc/web/dist/syndie-${CURVERSION}.${PKGEND} syndie-${CURVERSION}
@rm -rf syndie-${CURVERSION}
@echo "Native package built into doc/web/dist/syndie-${CURVERSION}.${PKGEND}"

10
README
View File

@@ -1,22 +1,20 @@
This is Syndie, an anonymity-aware distributed forum.
Up to date information about Syndie can be found over at
http://syndie.i2p.net/
https://syndie.de/
This package contains:
- INSTALL: how to build and install Syndie from source
- CHANGES: change log for Syndie
- CREDITS: who has contributed to the Syndie development effort
- LICENSE: license information for the Syndie codebase
- data/: various resources e.g. images, db updates, etc.
- doc/syndie.1: unix style manual page for the syndie command
- doc/web/: HTML documentation for Syndie
- bin/: contains the main Syndie command, sample Syndie scripts,
- bin/: contains the main Syndie commands, sample Syndie scripts,
and an example perl CGI for operating an HTTP archive
- lib/: compiled java libraries
- resources/: localized data, etc
- resources/: misc. things not shipped in syndie.jar
- src/: source code
- Makefile.nix: makefile for building syndie with GCJ for the current platform
- Makefile.mingw: build a native windows executable with mingw/GCJ from *nix
- build.xml: build the java code
- nbproject/: developer setup for NetBeans users

51
TODO
View File

@@ -3,25 +3,54 @@ Key:
X recently completed
(longer term tasks are included in doc/web/roadmap.html)
? questionable task
===
- dictionary selection GUI
- scheduled web rips (and maybe even scheduled cli scripts? expose webrip cli for both?)
- monotone migration
- on mtn rev push @ mtn.i2p.net, post to syndie-commit
- publish the mtn web interface, or get syndie up on the mtnview site?
- remove duplicate nymKeys (eg "Read key 5/89 attempt failed, continuing...")
- clean up the highlight view (less text-oriented, more graphical)
- simplify pbe resolution (special link to search:pbePending=true?)
- revamp bookmark management and editing (DnD, in place editing, etc)
- manage freenet keypairs (create/specify) on the syndication screen
- edit theme (fonts/colors/icons, not just font size)
- edit/create translations
- login screen when necessary
- passphrase changes (reencrypt keys with the new passphrase)
- lock syndie (keep it running to sync but no UI interaction sans login/pass)
? custom read/browse view for web rips
- write help pages
- use the systray to display the highlights and for notification
- auto-import keys and archives on Import/view
? spellcheck all pages, not just one
- internationalize the text UI
Big Picture:
- Reasses the project. Where is it now, what should be the focus going forward.
Useful links for reviewing the original goals:
http://www.i2p2.i2p/status-2006-09-12.html
http://www.i2p2.i2p/status-2006-10-03.html
Database:
- Very slow, lots of issues
Documentation:
- Include all doc/web/* files in the jar; install all in archive/ via TextEngine.buildInstallDir(),
or make available via the GUI, or both
- write help pages
- Much more javadocs
GUI:
- Make a decision on which GUI to use, kill the other one
- dictionary selection GUI
- edit theme (fonts/colors/icons, not just font size)
- login screen when necessary
- passphrase changes (reencrypt keys with the new passphrase)
- lock syndie (keep it running to sync but no UI interaction sans login/pass)
Plugin:
- Full server support in the plugin (start I2PTunnelHTTPServer with plugin/syndie/eepPriv.dat file)
- Remove all System.exit() calls for safe plugin operation in same JVM as router
- Migrate plugin to in-JVM operation
Refactoring:
- Use Java 5 generics
- Use Java 5 concurrent
Sync:
- Allow much more frequent syncing
Translation:
- internationalize the text UI

View File

@@ -1 +0,0 @@
syndie.version=1.004a

View File

@@ -1,6 +1,6 @@
login
menu syndicate
getindex --archive http://syndie.i2p.net/archive/ --scope new
getindex --archive http://syndie.i2p2.de/ --scope new
fetch --style diff
buildindex
exit

View File

@@ -1,5 +1,11 @@
You should launch Syndie with syndie.exe. However, you can launch
Syndie as a standard java application:
Depending on your system, you should start Syndie with
syndie.exe, syndie.sh, or syndie.command.
There are also convenience jars in this directory which can be run
with, for example
java -jar syndie.jar
However, you can also launch Syndie as a standard java application:
- specify the classpath to include:
- lib/syndie.jar
- lib/hsqldb.jar
@@ -10,10 +16,6 @@ Syndie as a standard java application:
- use "--cli" if you want to run the text interface
- an additional parameter defines an alternate Syndie data directory
If using an swt.jar prior to SWT-3.3M4, you will also need to add the
flag -Djava.library.path=/some/directory/containing/native/swt/libs
On linux machines, that may be /usr/lib, or for those with eclipse
installed, it may be some convoluted directory under the eclipse dir.
OSX users will also need to specify -XstartOnFirstThread as a command
line parameter
@@ -23,12 +25,11 @@ containing a newline delimited list of words. On windows and OSX, an
English dictionary is bundled with Syndie, and on linux, Syndie uses
the contents of /usr/share/dict/words by default.
So, as a windows example:
javaw -cp lib\syndie.jar;lib\hsqldb.jar;lib\swt.jar syndie.gui.SWTUI
or as a linux example:
SWTDIR=../swt-I20060922-0010-gtk-linux-x86 \
java -cp lib/syndie.jar:lib/hsqldb.jar:${SWTDIR}/swt.jar \
-Djava.library.path=${SWTDIR} syndie.gui.SWTUI /tmp/syndieroot
So, on Windows:
javaw -cp lib\syndie.jar;lib\hsqldb.jar;lib\swt.jar syndie.gui.SWTUI
on Linux:
java -cp lib/syndie.jar:lib/hsqldb.jar:${SWTDIR}/swt.jar \
syndie.gui.SWTUI
or on OSX:
java -XstartOnFirstThread -cp lib/syndie.jar:lib/hsqldb.jar:lib/swt.jar \
Syndie.gui.SWTUI
java -d32 -XstartOnFirstThread -cp lib/syndie.jar:lib/hsqldb.jar:lib/swt.jar \
syndie.gui.SWTUI

View File

@@ -1,16 +1,16 @@
# this launches the integrated HTTP server, rebuilding the local shared
# archive index every hour. To run this standalone:
# syndie.exe --cli --nostdin @bin/runhttpserv.syndie
# syndie.jar --cli --nostdin @bin/runhttpserv.syndie
# that tells Syndie not to open the GUI (instead run the CLI), and not
# to read from the standard input - instead, it runs the given script
# (this file), blocking indefinitely.
#
# You can also specify a Syndie data directory under which Syndie will
# store its data and archive - just include it at the end, like:
# syndie.exe --cli --nostdin @bin/runhttpserv.syndie /tmp/data
# syndie.jar --cli --nostdin @bin/runhttpserv.syndie /tmp/data
#
# With the --nostdin option, Syndie can safely run under "nohup":
# nohup java -jar bin/syndie.exe --cli --nostdin @bin/runhttpserv.syndie &
# echo !! > httpserv.pid
# nohup java -jar bin/syndie.jar --cli --nostdin @bin/runhttpserv.syndie &
# echo $! > httpserv.pid
#
httpserv --port 8080 --writable true

View File

@@ -1,69 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<project name="syndie" default="default" basedir=".">
<description>Builds, tests, and runs the project syndie.</description>
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-single: called before javac compilation of single file
-post-compile-single: called after javac compilation of single file
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-compile-test-single: called before javac compilation of single JUnit test
-post-compile-test-single: called after javac compilation of single JUunit test
-pre-jar: called before JAR building
-post-jar: called after JAR building
-post-clean: called after cleaning build products
(Targets beginning with '-' are not intended to be called on their own.)
Example of inserting an obfuscator after compilation could look like this:
<target name="-post-compile">
<obfuscate>
<fileset dir="${build.classes.dir}"/>
</obfuscate>
</target>
For list of available properties check the imported
nbproject/build-impl.xml file.
Another way to customize the build is by overriding existing main targets.
The targets of interest are:
-init-macrodef-javac: defines macro for javac compilation
-init-macrodef-junit: defines macro for junit execution
-init-macrodef-debug: defines macro for class debugging
-init-macrodef-java: defines macro for class execution
-do-jar-with-manifest: JAR building (if you are using a manifest)
-do-jar-without-manifest: JAR building (if you are not using a manifest)
run: execution of project
-javadoc-build: Javadoc generation
test-report: JUnit report generation
An example of overriding the target for project execution could look like this:
<target name="run" depends="syndie-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
</target>
Notice that the overridden target depends on the jar target and not only on
the compile target as the regular run target does. Again, for a list of available
properties which you can use, check the target you are overriding in the
nbproject/build-impl.xml file.
-->
</project>

68
build.properties Normal file
View File

@@ -0,0 +1,68 @@
#################################################################################
# These properties can be set to alter the build process.
#
# End-users *should not* edit this file. If you want to change the values, make a
# copy, call it override.properties, and make the desired changes to that.
#################################################################################
# Compile for this version of Java
javac.version=1.6
#
# Note to packagers, embedders, distributors:
#
# Strictly speaking, you must either use the compiler for the minimum Java version you are
# targeting (default 1.6, see above), or specify a bootclasspath, which means you need
# the JRE for the target version installed as well.
#
# However, in practice, you can compile with 1.7 and target 1.6 without specifying a bootclasspath,
# and it all works fine.
#
# But you cannot compile with 1.8 and target 1.6 or 1.7 without bootclasspath,
# or your users will get runtime errors.
# Below is an example of a bootclasspath that works on Ubuntu.
#
# For more info:
# http://zzz.i2p/topics/1668
# https://gist.github.com/AlainODea/1375759b8720a3f9f094
#
#javac.compilerargs=-bootclasspath /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/jce.jar
# This is the directory the build process will check for the required build dependencies.
# This defaults to 'lib' if left unset. Individual dependency locations can be overridden below.
# Debian users, for example, may want to set this to /usr/share/java
#lib.dir=
# This must contain the path to hsqldb.jar (including the filename).
# This defaults to lib.dir if not set.
#hsqldb.jar=
# This should contain the path to swt.jar (including the filename).
# This defaults to lib.dir if not set.
#swt.jar=
# This must contain the path to i2p.jar (including the filename), e.g. ${user.home}/i2p/lib/i2p.jar
# This defaults to lib.dir if not set.
#i2p.jar=
# If on OSX, you need to pass these parameters
# run.args=-d32 -XstartOnFirstThread
# In order to wrap jars into EXEs and create installers, launch4j and izpack
# are required. Luckily they're both shipped with I2P's source code. If you
# have the I2P source available you can specify its location here.
# ../i2p.i2p is checked by default. If this property is set you do not need
# to set the next two.
#i2p.src.dir=
# You can also manually specify the locations for launch4j and izpack below.
# The directory specified here must contain the file 'standalone-compiler.jar'
#izpack.dir=
# If you set the next property it must contain a path pointing to the file 'launch4j.jar'
#launch4j.dir=
# Javadocs
# Note: Include the trailing slash! Don't surround the URL in quotes!
javasedocs.url=http://docs.oracle.com/javase/6/docs/api/
swtdocs.url=http://help.eclipse.org/galileo/topic/org.eclipse.platform.doc.isv/reference/api/
i2pdocs.url=http://docs.i2p-projekt.de/javadoc/

2165
build.xml

File diff suppressed because it is too large Load Diff

BIN
data/archive/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

219
data/archive/index.html Normal file
View File

@@ -0,0 +1,219 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>Syndie archive</title>
<style type="text/css">
/* style taken from the syndie website */
body {
margin:0px;
padding:0px;
font-family:verdana, arial, helvetica, sans-serif;
color:#333;
background-color:white;
}
h1 {
margin:0px 0px 15px 0px;
padding:0px;
font-size:28px;
line-height:28px;
font-weight:900;
color:#ccc;
}
p {
font:11px/20px verdana, arial, helvetica, sans-serif;
margin:0px 0px 16px 0px;
padding:6px;
}
#Content>p {margin:0px;}
#Content>p+p {text-indent:0px;}
li {
font:11px/20px verdana, arial, helvetica, sans-serif;
margin:0px 0px 0px 0px;
padding:0px;
}
a {
color:#09c;
font-size:11px;
text-decoration:none;
font-weight:600;
font-family:verdana, arial, helvetica, sans-serif;
}
a:link {color:#09c;}
a:visited {color:#06a;}
a:hover {background-color:#999999;
color:#FFFFFF;
}
#Header {
margin:10px 0px 10px 0px;
padding:17px 0px 0px 20px;
font-size:11px;
/* For IE5/Win's benefit height = [correct height] + [top padding] + [top and bottom border widths] */
height:33px; /* 14px + 17px + 2px = 33px */
border-style:solid;
border-color:black;
border-width:1px 0px; /* top and bottom borders: 1px; left and right borders: 0px */
line-height:11px;
background-color:#eee;
/* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity.
Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it.
IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style
declaration. The incorrect IE5/Win value is above, while the correct value is
below. See http://glish.com/css/hacks.asp for details. */
voice-family: "\"}\"";
voice-family:inherit;
height:14px; /* the correct height */
}
/* I've heard this called the "be nice to Opera 5" rule. Basically, it feeds correct
length values to user agents that exhibit the parsing error exploited above yet get
the CSS box model right and understand the CSS2 parent-child selector. ALWAYS include
a "be nice to Opera 5" rule every time you use the Tantek Celik hack (above). */
body>#Header {height:14px;}
#Content {
margin:0px 50px 50px 200px;
padding:10px;
}
#Menu {
position:absolute;
top:60px;
left:20px;
width:172px;
padding:10px;
background-color:#eee;
border:1px dashed #999;
line-height:17px;
/* Again, the ugly brilliant hack. */
voice-family: "\"}\"";
voice-family:inherit;
width:150px;
}
/* Again, "be nice to Opera 5". */
body>#Menu {width:150px;}
</style>
</head>
<body>
<div style="display: none"><a href="#Content" title="Skip navigation" accesskey="2">Skip navigation</a></div>
<div id="Header">
<a href="http://syndie.i2p2.de/index.html" title="Syndie">Syndie</a><i> - distributed forums</i>
</div>
<div id="Content">
<h1>This is a Syndie archive</h1>
<p>You are viewing a <a href="http://syndie.i2p2.de/">Syndie</a> archive,
containing encrypted and often pseudonymously authored messages. If you
install Syndie and tell it to pull this archive's content, you can read
what is being said, assuming you've got the keys to do so.</p>
<p>The operator of this archive has no control over what is said, and
can neither monitor nor modify that content. The operator disclaims any
responsibility for what is included herein. If you are aware of content
in this archive that violates the law in the jurisdiction that the archive
is in, please send a signed affidavit to the archive operator declaring
such, providing both the full URL to the Syndie post in question, as well
as any decryption keys necessary to confirm the legitimacy of such a
claim.</p>
<p>Note, however, that removing content from this one archive does not
remove it from the forum. To do so, you would have to find everyone
who has the content and get them to remove it as well, using whatever
lawful methods are available in their jurisdiction. There is no list
of who has what content, or what archives are used for various forums,
and there is nothing preventing content from being wrapped up in other
uncensored posts, or re-encrypted with different keys. Feel free to
put your finger in the dyke, if it makes you feel better.</p>
<!-- Uncomment this section if you have placed the relevant files in $HOME/.syndie/dist
<h3>Download Syndie</h3>
Windows installers:<ul>
<li><a href="files/syndie-installer-1.103b.bin.win32.exe">syndie-installer-1.103b.bin.win32.exe</a>
(<a href="files/syndie-installer-1.103b.bin.win32.exe.sig">GPG signature</a>)
(<a href="files/syndie-installer-1.103b.bin.win32.exe.sha256">checksum</a>)
</li>
<li><a href="files/syndie-installer-1.103b.bin.win64.exe">syndie-installer-1.103b.bin.win64.exe</a>
(<a href="files/syndie-installer-1.103b.bin.win64.exe.sig">GPG signature</a>)
(<a href="files/syndie-installer-1.103b.bin.win64.exe.sha256">checksum</a>)</li>
<li>Download and run the executable installer.</li>
<li>Prerequisites: None, other than Java 1.5+.</li>
</ul>
Linux installers:<ul>
<li><a href="files/syndie-installer-1.103b.bin.linux32.jar">syndie-installer-1.103b.bin.linux32.jar</a>
(<a href="files/syndie-installer-1.103b.bin.linux32.jar.sig">GPG signature</a>)
(<a href="files/syndie-installer-1.103b.bin.linux32.jar.sha256">checksum</a>)</li>
<li><a href="files/syndie-installer-1.103b.bin.linux64.jar">syndie-installer-1.103b.bin.linux64.jar</a>
(<a href="files/syndie-installer-1.103b.bin.linux64.jar.sig">GPG signature</a>)
(<a href="files/syndie-installer-1.103b.bin.linux64.jar.sha256">checksum</a>)</li>
<li>Download and run the executable installer (e.g. <code>java -jar syndie-installer-1.103b.bin.linuxXX.jar</code>).</li>
<li>Prerequisites: None other than Java 1.5+</li>
</ul>
OSX installers:<ul>
<li><a href="files/syndie-installer-1.103b.bin.osx32.jar">syndie-installer-1.103b.bin.osx32.jar</a>
(<a href="files/syndie-installer-1.103b.bin.osx32.jar.sig">GPG signature</a>)
(<a href="files/syndie-installer-1.103b.bin.osx32.jar.sha256">checksum</a>)</li>
<li><a href="files/syndie-installer-1.103b.bin.osx64.jar">syndie-installer-1.103b.bin.osx64.jar</a>
(<a href="files/syndie-installer-1.103b.bin.osx64.jar.sig">GPG signature</a>)
(<a href="files/syndie-installer-1.103b.bin.osx64.jar.sha256">checksum</a>)</li>
<li>Download and run the executable installer (e.g. <code>java -jar syndie-installer-1.103b.bin.osxXX.jar</code>).</li>
<li>Prerequisites: None other than Java 1.5+</li>
</ul>
CLI <ul>
<li><a href="files/syndie-cli-1.103b.bin.tar.bz2">syndie-cli-1.103b.bin.tar.bz2</a>
(<a href="files/syndie-cli-1.103b.bin.tar.bz2.sig">GPG signature</a>)
(<a href="files/syndie-cli-1.103b.bin.tar.bz2.sha256">checksum</a>)</li>
<li>Download, extract, and and run (e.g. <code>java -jar bin/syndie-cli.jar</code>).</li>
<li>Prerequisites: None other than Java 1.5+</li>
</ul>
Debian package
<ul>
<li>Packages are available via the Internet at the <a href="https://launchpad.net/~i2p-maintainers/+archive/i2p">I2P PPA</a>
and within I2P from <a href="http://killyourtv.i2p/debian/pool/main/s/syndie">KillYourTV's Debian Repository</a>.</li>
</ul>
<p> The GPG public key used to sign the distributed files is
<a href="http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0xDF0A0A1A">0xDF0A0A1A</a>
<code>(fingerprint 97C6 EEFB 60D3 8EA4 C1BE 33FF ABE0 C319 DF0A 0A1A)</code>.
</p>
<h4>Development source:</h4>
<ul>
<li>Tarball: <a href="files/syndie-1.103b.src.tar.bz2">syndie-1.103b.src.tar.bz2</a>
(<a href="files/syndie-1.103b.src.tar.bz2.sig">GPG signature</a>)
(<a href="files/syndie-1.103b.src.tar.bz2.sha256">checksum</a>)</li>
<li> You will need to provide <code>swt.jar</code> for your platform and <code>i2p.jar</code> to build Syndie. We provide <code>hsqldb.jar</code> in the Syndie source.
<b>Be sure to read the file <code>INSTALL</code></b> for instructions.</li>
<li>Prerequisites:
<a href="http://ant.apache.org/">ant 1.7.0</a>+,
<a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">jdk1.6+</a>/
<a href="http://www.eclipse.org/swt/">SWT 3.4</a>+
</li>
<li>A public <a href="http://www.monotone.ca">monotone</a> repository of the
syndie code is available on the netsync server <code>mtn.i2p2.de</code>
in the <code>i2p.syndie</code> branch.<br />
<i>Not familiar with monotone? See this <a href="monotone_howto.html">howto</a></i></li>
<li>Developers are granted write permission to that repository, and everyone
is granted read permission.</li>
</ul>
<p>Older releases are <a href="dist/">archived</a>.</p>
<p><b>To upgrade or reinstall</b>, simply install Syndie again on top of itself.
Upgrading or reinstalling does not affect your content or keys, just the
software. To completely wipe any old data, identities, or keys, delete the
<code>$HOME/.syndie</code> directory.</p>
<p><b>To uninstall</b>, if you used the installer and created desktop icons or
start menu shortcuts, simply launch the included uninstaller. Otherwise, just
remove the directory you installed Syndie into (e.g. <code>$HOME/syndie</code> or
<code>C:\Program Files\Syndie</code>).</p>
<p>The Syndie content is stored in <code>$HOME/.syndie</code> or
<code>%HOME%\.syndie</code> by default, so you should delete that directory as
well if you want to remove the content (and private keys!). To use another
location (or to run multiple instances at once), simply pass another root
directory on the command line (e.g. <code>java -jar syndie.jar %HOME%\nym1</code>)</p>
</div>
-->
</div>
</body>
</html>

2
data/archive/robots.txt Normal file
View File

@@ -0,0 +1,2 @@
User-agent: *
Disallow: shared-index.dat

79
data/defaultarchives.txt Normal file
View File

@@ -0,0 +1,79 @@
# These options define the 'default' archives shipped with Syndie, loaded
# when the sharing / syndication screen is shown. If the file
# $syndieRoot/defaultarchives.txt exists, it will be used, otherwise the
# "/defaultarchives.txt" resource from the Syndie installation (aka this file)
# is loaded.
#
# the format is as follows:
# archive.1.name=Standard archive (direct)
# archive.1.url=http://syndie.i2p2.de:8080/
# [archive.1.proxy=127.0.0.1:8118]
# [archive.1.pullpolicy=RecentMessagesOnly IncludePBE AllChannels]
# [archive.1.pushpolcy=SendNothing]
# archive.1.syncbydefault=true
##########################################
## I2P then non-I2P please
## Alphabetical within categories
##########################################
archive.1.name=Lazy Edward
archive.1.url=http://6d2tru665udiixwb7miyml7joxusehwmrbikyjjpwwwdpand2lza.b32.i2p/
archive.1.proxy=127.0.0.1:4444
archive.1.pullpolicy=RecentMessagesOnly
archive.1.syncbydefault=true
##########################################
archive.2.name=mosfet.i2p
archive.2.url=http://mosfet.i2p/archive/?i2paddresshelper=zADgixl~iNqxQyKEWAVWUHoWcyDx7Mwk-gLgvr64W3Bl6tPiwDySSKt10gXIElar2eh1XEJCMy-j7j-NFXl-WxRE7lQy8DrTIBVMetFhYmPVmhYQcBubxqT5L1e8Luon-jvgCTLArElMilauG6HP6h9L5lTjAZZRBkGLfiplfHEYWvLsRiI2R9DfquF4EfpNaJyN1CDclQ7Apola9cYmW5s6Tzdyl2FeVd2vo5ne1VdatgPoEwpvNjf9CJuQwqgiVI34wIV3dY92OpiZDhIHKGl1FLs3Ke5vvzdZqceyBR3EkoLifrD5p5TK8JXYzM9C8xV0vD-aaWI1genoWoyhJ2ioMKbVZAQMMqKHyUcP5Q4AHqj0c8DXzVWCSsJN1LOg30WLdMLmLnshiogIO70D~hXvCsSzE3T5krpQOzhreotZlxyhFC8seYDF3nsJuEpHEXm4aZvUsuBmr7PHemlelfP9Qg-Aaj2s~lHb97OAXA5DW5uPc1pkDnSHnPPlDorTAAAA
archive.2.proxy=127.0.0.1:4444
archive.2.pullpolicy=RecentMessagesOnly
archive.2.syncbydefault=true
##########################################
archive.3.name=syndie.echelon.i2p
archive.3.url=http://syndie.echelon.i2p/?i2paddresshelper=4W79xrs~ZVo2nXynH8Dyl4gOTL2qQoCOyndoJaXDkt5bGDemvaCp6AayGWxMM1aFLfZayS6dy79-UGK2xabOMatg~zcvb3QNOgelAXpMhLBb3htZchXHoWed73Zu8HhBM9RkU2hEoknVIQ6wYWCDTabPwTy0AiMgnL7sPvlIUr3OoYx6K6~QUJ4aY3qhOxlT7~agx~AB8YG9lRpwMcooCy-vxwDOIP3pX71sy-0ag~-lE4UmQ3MSSzlNp7KquzKkMk07BD7TpDrxJpfi9zCqsFCuYYHnHTrsyVApFS-DZZdb0aNHPeKmenimJIiDQgueU3xwVvdINv1puT3Zkzt2H1rMqqu5SMLsesjcRuPsaCazL40J5-7f2aZ1~mGJbxUxQY~53y9eSoCR7-n1W~qL4i6LxwEXpFS4IXWi3lA8hq7i-NqMZwbwHP8elAFg~kNaW9cgeRn~LX0lCZc5ztbYc2qJeMMFtR0kSG3PvOcci961maQYbcEpHVjfgFfFxR4KAAAA
archive.3.proxy=127.0.0.1:4444
archive.3.pullpolicy=RecentMessagesOnly
archive.3.syncbydefault=true
##########################################
archive.4.name=syndie.welterde.i2p
archive.4.url=http://syndie.welterde.i2p/?i2paddresshelper=tYPP3G3Ul1wXDxyotkqzT7wCHHm0c4e-JeKbWSU0dbPI3lGm1hxKEMHXRORk8VrxaGZz1UtnQp3ERMY-8zEd~D56v4Bw0PLu~KV~pTxE7RNld-ACKTBYGj6OBmWcNYHCqjzakJOLUzZKydJDphTa3Fozpp1UyoXtZU-u8p6VJeFMhBUT1AkvCxFThFyQUmQ~zFit-LSL3TG2Y564X4b7NeWBQ4HvrxsUBgga0IJhKiLO4rXeUk~DmjwyM~nyLT2puTEJqm8T44CoglVpnJiqG6hENPCTnZ0Qh5ecZjWrP8e5jo4Dr3bYV17pSxBzeYdqOSEU4LnWAqh1fAsLolkBOHaL9Qb2JjMV-1cXlwowx8XA0pHcgIFSi-sfpRHNs0eRWIqmJEerKJiV1oS1TKM3mUCDNXw0n1L6aXFroeY-zDo5RL4lNdXvXTaw6uKIbnVgZt9qflLPp871CfEfpK27fNRlvNvQp7B2xlGCqODACL5~SKZH~28BvuCiWVHgxuEJAAAA
archive.4.proxy=127.0.0.1:4444
archive.4.pullpolicy=RecentMessagesOnly
archive.4.pushpolicy=SendNothing
archive.4.syncbydefault=false
##########################################
archive.5.name=archive.i2p-projekt.de:8080 (clearnet)
archive.5.url=http://archive.i2p-projekt.de:8080
archive.5.pushpolicy=RecentMessagesOnly
archive.5.syncbydefault=false
##########################################
archive.6.name=syndie.welterde.de (clearnet)
archive.6.url=http://syndie.welterde.de/
archive.6.pushpolicy=SendNothing
archive.6.syncbydefault=false
##########################################
archive.7.name=syndielzlvbxdsah.onion:8080 (Tor)
archive.7.url=http://syndielzlvbxdsah.onion:8080
archive.7.proxy=127.0.0.1:8118
archive.7.pullpolicy=RecentMessagesOnly
archive.7.syncbydefault=false
##########################################
##########################################
## These have been down for a while
##########################################
#archive.2.name=planb.i2p
#archive.2.url=http://planb.i2p/?i2paddresshelper=SnDT-8j94Ot9DO--3KkfkFVhIyMypo~d3rPrXjOzScRW2ZSAle1T1MEr9E5MEYXNnT3PW5d9rU4R6QnhjM2MB~OuX0q83R6yngiL-4xncG2rcZQjfhASvb91eSARuUmZQXsXg7gjuuKqLSIg8X-NFUnWapvnnx8E-cB4u4QE1zGnbo33Kt2wX3k31XyxzZwJmK-b0kYE41KioET~d0mFmP6oEvbAQPlq5h3YDNniyrAncy4321pYwCde1KS8uIp3d9OEOc3u2KJAbsAf~KFhWj4~MEI5tPep5ti7iWm7lcnpsXxeeFDl4u5peEgUmu4bpGzyooux4~jpvQzgYv9NSmuFK9vfCA6nXs81bmHUJ4qLUz~pMCACapXWxU0zDhE8hCABPbCJG8EX8k2JkO-fA4L1NhnF6MIrs4CPqlmyiLnBRXOdWq1AEMe1huTuodwDOtczFkJeDpRoHBoLQKPHbSZWShDzzdjuQ97VUC5Vwm8C~ebFIf~UXmpBbzpTGQVqAAAA
#archive.2.proxy=127.0.0.1:4444
#archive.2.pullpolicy=RecentMessagesOnly
#archive.2.syncbydefault=true
###########################################
#archive.3.name=syndie.darrob.i2p
#archive.3.url=http://syndie.darrob.i2p/?i2paddresshelper=0YtfmegUav8tzX5V2XtYmPS5AZSPEnqkaJZ4gVaqDPJesL00sZPtZ8Ipag~wzu5-7epNuI35FLiH5QdF9Z7zNWrc5egcC6M5gNb-7eDAgwpUKhBxFk8nmesCWd13alK3c-bTJ-xup1Ohv8liPm8-wEMIL4DjFe1fzfBVLg2k5OKDNzc~kFK3FzQqnJetfZYcrE~xSn67Po0VIXF7CbAz8Ay0WjGj6u2iHJJ1Q-yaxKkSLaiYK4KJDSHJFbEXA-EhwmdgQhzPMNRpwWNBM0KptmbKRpH6f7XRp6l6sFonIxLqq3miT9NPy1rZeT-5A~Qwin38nExKgM2BUfQqKEEBi49fC8GJOiEpHIPMFjyQWrXXAjmQIzp2Pg1H3FrWqu1ZHJZmCK0-MyMPlkzHOEWINqNVG9-bmqjeLoHGryGsWWmRRVmzsSJnMbf3HAvFC-aE~Wa4oAFokWiORzzesVfY9DCG2jhM7jEqo0AMxz9BstkMKPADIuRd3j8XHsDEkCgXAAAA
#archive.3.proxy=127.0.0.1:4444
#archive.3.pullpolicy=RecentMessagesOnly
#archive.3.syncbydefault=true
##########################################
#archive.3.name=syndie.killyourtv.i2p
#archive.3.url=http://syndie.killyourtv.i2p/?i2paddresshelper=4JTkFMNVkouHpKuzAqDaU0n0vkn9vko9BqrbkFR2Xza8u6gfHZCH6JPARwoumSEzs-Ri5MMEkuHpCQZ9Fv0IWnx18kqUQzL5GY1m5~NznohaHuKPIlwC0UNVSGF8Qm2F1W8O2XdrYjgqnaNqjH5JNM0xNUlAtIOsO4xJ0-5hQSBhp4vQiXLkVH0fDseij9-cq6IMH-~m6KrZfEpoTyrU6ov3I1ERifan8FNXjUFjQqMWNq-eyC4-TJNhHz9KoHgzqyhN2i38nOkAGPX9gjF9oWTG8SIBxTxXj07n28QUmASLlwBGarJzHF363NbIWGJGfHUtDKN0kIbsFMGdurDmnm~oIkzoJcSevSQKF082CRCXM1dC7kzBeJP9sCR02hDVlZOyUrt7y07gI86RkBmN4UC3U~pbazongBPuIjsSWhTQwPn-EJnYBCqODLj23YWtw2wiHetzxjjnMW3ODRF2T-gx1NC2VH3W1Scki1eka04So5OTHJIetG1CjPD3XrucAAAA
#archive.3.proxy=127.0.0.1:4444
#archive.3.pullpolicy=RecentMessagesOnly
#archive.3.syncbydefault=true

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1 @@
archive=http://mtn.i2p-projekt.de:8080/

4
data/scripts/login Normal file
View File

@@ -0,0 +1,4 @@
#
# This CLI script is run after a successful login to the database.
# It is empty by default.
#

20
data/scripts/newdatabase Normal file
View File

@@ -0,0 +1,20 @@
#
# This CLI script is run after a successful login to a new database,
# but before the 'login' script.
#
menu start
menu read
channels
backupSecrets --channel 0 --withmeta true
menu start
menu loggedin
importDefaults
menu start
menu read
ban --scope WF796VOGsznIsixh8d1M0j7h-~rR92Tcc1wbcOPu7c4= --delete true
ban --scope LN2NCaoy2CZf~z89rLEfhDfslHh6D1u1cIqKUGGO46Y= --delete true
ban --scope j~VOSgkaPGeeA-8aHxaj21VPQgMzU5SPnjVZ3Hdw~Y8= --delete true
ban --scope hrsSFNHZufj78~YnpAC2oT3SVoTiNRCQSsoBAEZ1rt0= --delete true
ban --scope Q~vl9qyZARLWC80iCBJyPEQOCaQkxEcC8BkUJ3FQvME= --delete true
ban --scope Uk3OEOxQ37DiPl1JttSX-xXpejl7k7pyzSlzYXu88jc= --delete true
menu start

5
data/scripts/startup Normal file
View File

@@ -0,0 +1,5 @@
#
# This CLI script is run at startup.
# It must contain "login"
#
login

View File

@@ -0,0 +1,20 @@
-- update the database from schema version 16
-- this version 17 adds hooks for reference and forum petnames and icons
--
UPDATE appVersion SET versionNum = 17, visibleVersion = 'Pet names';
CREATE TABLE nymChannelPetName (
channelId BIGINT PRIMARY KEY
, petname VARCHAR(256)
, petdesc VARCHAR(256)
);
CREATE TABLE nymCustomIcon (
targetId BIGINT PRIMARY KEY
-- for type 0, the targetId refers to a channelId
-- for type 1, the targetId refers to a nymReferenceGroupId
, targetType INTEGER
, data LONGVARBINARY
);

View File

@@ -0,0 +1,7 @@
-- update the database from schema version 17
-- this version 18 adds a sync delay attribute to archives
--
UPDATE appVersion SET versionNum = 18, visibleVersion = 'Sync delay';
ALTER TABLE nymArchive ADD nextSyncDelayHours INTEGER DEFAULT 24;

View File

@@ -0,0 +1,7 @@
-- update the database from schema version 18
-- this version 19 adds a whitelist group id to archives
--
UPDATE appVersion SET versionNum = 19, visibleVersion = 'Whitelist';
ALTER TABLE nymArchive ADD whitelistGroupId INTEGER DEFAULT -1;

View File

@@ -0,0 +1,35 @@
-- update the database from schema version 19
-- this version 20 adds expiration policies and tracks message deletion
--
UPDATE appVersion SET versionNum = 20, visibleVersion = 'Expiration and deletion';
-- deletionCause values:
-- 1: explicit delete
-- 2: expire
-- 3: cancelled
ALTER TABLE channelMessage ADD deletionCause INTEGER DEFAULT NULL;
-- expiration policies:
-- * dataFile/db default policy
-- * dataFile/db watched policy
-- * dataFile/db forum-specific policy
CREATE CACHED TABLE expirationPolicy (
-- if true, this policy talks about when we delete the .syndie data files
isDataFilePolicy BOOLEAN DEFAULT true
-- policyScopeId is -1 for the default policy, -2 for the watched forum policy,
-- or equal to the channelId for channel specific policies
, policyScopeId BIGINT
-- if this number of messages is exceeded, older messages are deleted
, maxNumMessages BIGINT DEFAULT -1
-- if the total size of all messages in this scope is exceeded, older
-- messages are deleted until the size is reached
, maxSizeKB BIGINT DEFAULT -1
-- if a message was received more than this many days ago, it is deleted
, maxAgeDays BIGINT DEFAULT -1
-- if true, the max* fields should be ignored and the defaults for
-- this type of policy should be used
, mimicDefault BOOLEAN DEFAULT false
, PRIMARY KEY (isDataFilePolicy, policyScopeId)
);

View File

@@ -0,0 +1,8 @@
-- update the database from schema version 20
-- this version 21 caches message size data for more efficient expiration
--
UPDATE appVersion SET versionNum = 21, visibleVersion = 'Message size cache';
ALTER TABLE channelMessage ADD totalMessageSizeKB INTEGER DEFAULT NULL;

View File

@@ -0,0 +1,16 @@
-- update the database from schema version 21
-- this version 22 stores cancel message policies
--
UPDATE appVersion SET versionNum = 22, visibleVersion = 'Cancel message policies';
CREATE CACHED TABLE cancelPolicy (
-- policyScopeId is -1 for the default policy, -2 for the locally managed policy,
-- or equal to the channelId for channel specific policies
policyScopeId BIGINT PRIMARY KEY
, honorFromAuthor BOOLEAN
, honorFromForumOwner BOOLEAN
, honorFromForumManager BOOLEAN
, honorFromAuthPoster BOOLEAN
);

View File

@@ -0,0 +1,26 @@
-- update the database from schema version 22
-- this version 23 tracks the messages cancelled in metadata posts
--
UPDATE appVersion SET versionNum = 23, visibleVersion = 'Metadata cancel tracking';
CREATE CACHED TABLE channelCancel (
channelId BIGINT
, cancelOrder INTEGER
, cancelledURI VARCHAR(100)
, PRIMARY KEY (channelId, cancelOrder)
);
-- records the last N days worth of cancels (limiting how many can come
-- from each channelRequestedBy). this way we can apply a cancel even if the
-- cancel is received before the message being cancelled
-- This stanza commented out in 2013 because of a missing
- semi-colon. Fixed in version 24
--
-- CREATE CACHED TABLE cancelHistory (
-- cancelRequestedBy BIGINT
-- , cancelRequestedOn DATE
-- , cancelledURI VARCHAR(100)
-- , PRIMARY KEY (cancelledURI)
--)

View File

@@ -0,0 +1,22 @@
-- update the database from schema version 23
-- this version 24 really tracks the messages cancelled in metadata posts
-- by creating a table that was missed in version 23.
--
UPDATE appVersion SET versionNum = 24, visibleVersion = 'Fix Metadata cancel tracking';
--
-- Users will not have the cancelHistory table unless they manually updated it.
-- We'll try to drop it anyway.
-- records the last N days worth of cancels (limiting how many can come
-- from each channelRequestedBy). this way we can apply a cancel even if the
-- cancel is received before the message being cancelled
DROP TABLE cancelHistory IF EXISTS;
CREATE CACHED TABLE cancelHistory (
cancelRequestedBy BIGINT
, cancelRequestedOn DATE
, cancelledURI VARCHAR(100)
, PRIMARY KEY (cancelledURI)
);

View File

@@ -0,0 +1,133 @@
-- update the database from schema version 24
-- this version 25 reflects the ways to store attachments, pages, and postponed messages,
-- and migrates everything to more efficient storage.
-- It also changes size limits on several columns.
--
UPDATE appVersion SET versionNum = 25, visibleVersion = 'Migration to hsqldb 2.x features';
--
-- -1 deleted
-- 0 in dataBinary LONGVARBINARY / dataString LONGVARCHAR
-- 1 BLOB
-- 2 external, path in externalPath
-- 3 use .syndie file in archive if available
--
ALTER TABLE messageAttachmentData ADD storageType TINYINT DEFAULT 0;
ALTER TABLE messagePageData ADD storageType TINYINT DEFAULT 0;
ALTER TABLE nymMsgPostpone ADD storageType TINYINT DEFAULT 0;
--
-- 0 uncompressed
-- 1 gzip
-- others TBD
--
ALTER TABLE messageAttachmentData ADD compression TINYINT DEFAULT 0;
ALTER TABLE messagePageData ADD compression TINYINT DEFAULT 0;
ALTER TABLE nymMsgPostpone ADD compression TINYINT DEFAULT 0;
--
-- Relative (from base dir) or absolute path to external file
--
ALTER TABLE messageAttachmentData ADD externalPath VARCHAR(256) DEFAULT NULL;
ALTER TABLE messagePageData ADD externalPath VARCHAR(256) DEFAULT NULL;
ALTER TABLE nymMsgPostpone ADD externalPath VARCHAR(256) DEFAULT NULL;
--
-- Add internal compressed option
--
ALTER TABLE messageAttachmentData ADD compressedData VARBINARY(66000) DEFAULT NULL;
ALTER TABLE messagePageData ADD compressedData VARBINARY(66000) DEFAULT NULL;
ALTER TABLE nymMsgPostpone ADD compressedData VARBINARY(66000) DEFAULT NULL;
--
-- Add lob option
--
SET FILES LOB SCALE 4;
ALTER TABLE messageAttachmentData ADD lob BLOB DEFAULT NULL;
ALTER TABLE messagePageData ADD lob CLOB DEFAULT NULL;
ALTER TABLE nymMsgPostpone ADD lob CLOB DEFAULT NULL;
--
-- Migrate large things to lobs
-- This doesn't work, as it creates in-memory transient lobs only,
-- the syndie.lobs file is not created and we get
-- org.hsqldb.HsqlException: lob is no longer valid.
-- We must create the lobs via a PreparedStatement?
-- No, that doesn't work either, as of 2.2.9:
-- http://sourceforge.net/projects/hsqldb/forums/forum/73674/topic/5519631
--
-- UPDATE messageAttachmentData SET lob = dataBinary, storageType = 1, dataBinary = NULL WHERE OCTET_LENGTH(dataBinary) > 65536;
-- UPDATE messagePageData SET lob = dataString, storageType = 1, dataString = NULL WHERE LENGTH(dataString) > 65536;
-- UPDATE nymMsgPostpone SET lob = encryptedData, storageType = 1, encryptedData = NULL WHERE LENGTH(encryptedData) > 65536;
-- CHECKPOINT;
--
-- Length adjustments
--
--
-- LONGVARBINARY and LONGVARCHAR without length in previous DDLs,
-- automatically set to 16 MB on upgrade to 2.x
--
--
-- Set limits now that big things are in lobs
-- Can't do this until after the migration
--
--ALTER TABLE messageAttachmentData ALTER dataBinary SET DATA TYPE VARBINARY(65536);
--ALTER TABLE messagePageData ALTER dataString SET DATA TYPE VARCHAR(65536);
--ALTER TABLE nymMsgPostpone ALTER encryptedData SET DATA TYPE VARCHAR(65536);
--
-- The second and third seem to be empty anyway
--
DELETE FROM channelAvatar WHERE OCTET_LENGTH(avatarData) > 16384;
DELETE FROM messageAvatar WHERE OCTET_LENGTH(avatarData) > 16384;
DELETE FROM nymCustomIcon WHERE OCTET_LENGTH(data) > 16384;
ALTER TABLE channelAvatar ALTER avatarData SET DATA TYPE VARBINARY(16384);
ALTER TABLE messageAvatar ALTER avatarData SET DATA TYPE VARBINARY(16384);
ALTER TABLE nymCustomIcon ALTER data SET DATA TYPE VARBINARY(16384);
--
-- This generally only contains name and contentType, and those are duplicated in
-- messageAttachment. Not clear what this is even for.
-- For messagePageConfig, only contentType, duplicated in messagePage
--
DELETE FROM messageAttachmentConfig WHERE LENGTH(dataString) > 1024;
DELETE FROM messagePageConfig WHERE LENGTH(dataString) > 1024;
ALTER TABLE messageAttachmentConfig ALTER dataString SET DATA TYPE VARCHAR(1024);
ALTER TABLE messagePageConfig ALTER dataString SET DATA TYPE VARCHAR(1024);
--
-- things too small before, but 1.8 let them in anyway?
--
--
-- was 64, but webrip automatically added long URL
--
DELETE FROM messageTag WHERE LENGTH(tag) > 1024;
ALTER TABLE messageTag ALTER tag SET DATA TYPE VARCHAR(1024);
-- previous limit 100, too short (from update 22)
DELETE FROM channelCancel WHERE LENGTH(cancelledURI) > 256;
ALTER TABLE channelCancel ALTER cancelledURI SET DATA TYPE VARCHAR(256);
-- previous limit 100, too short (from update 23)
DELETE FROM cancelHistory WHERE LENGTH(cancelledURI) > 256;
ALTER TABLE cancelHistory ALTER cancelledURI SET DATA TYPE VARCHAR(256);
-- previous limit 4096, too short (from update 0)
-- this seems insanely big though
DELETE FROM channelMetaHeader WHERE LENGTH(headerValue) > 16384;
ALTER TABLE channelMetaHeader ALTER headerValue SET DATA TYPE VARCHAR(16384);
--
-- Generic 2.x settings
--
SET FILES BACKUP INCREMENT TRUE;
SET FILES DEFRAG 35;
SET FILES WRITE DELAY 5;
-- this causes a CHECKPOINT
-- SET FILES SCRIPT FORMAT COMPRESSED;

View File

@@ -4,6 +4,8 @@
UPDATE appVersion SET versionNum = 8, visibleVersion = 'Message read status support';
-- Note: These tables are dropped in ddl_update12.txt
CREATE CACHED TABLE nymChannelReadThrough (
nymId INTEGER
, scope BIGINT

View File

@@ -16,6 +16,7 @@ CREATE CACHED TABLE nymSyncLog (
, eventTime TIMESTAMP
);
-- Note: This column is dropped in ddl_update13.txt
-- when we next want to pull an index and potentially pull/push messages
-- a null value means we do not want scheduled sync to occur
ALTER TABLE nymArchive ADD nextSyncDate TIMESTAMP DEFAULT NULL;

BIN
data/syndie/gui/end.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 737 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

View File

Before

Width:  |  Height:  |  Size: 543 B

After

Width:  |  Height:  |  Size: 543 B

View File

Before

Width:  |  Height:  |  Size: 570 B

After

Width:  |  Height:  |  Size: 570 B

View File

Before

Width:  |  Height:  |  Size: 141 B

After

Width:  |  Height:  |  Size: 141 B

View File

Before

Width:  |  Height:  |  Size: 346 B

After

Width:  |  Height:  |  Size: 346 B

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 B

View File

Before

Width:  |  Height:  |  Size: 639 B

After

Width:  |  Height:  |  Size: 639 B

View File

Before

Width:  |  Height:  |  Size: 550 B

After

Width:  |  Height:  |  Size: 550 B

View File

Before

Width:  |  Height:  |  Size: 590 B

After

Width:  |  Height:  |  Size: 590 B

View File

Before

Width:  |  Height:  |  Size: 408 B

After

Width:  |  Height:  |  Size: 408 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

BIN
data/syndie/gui/iconBug.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 774 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 749 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 B

View File

Before

Width:  |  Height:  |  Size: 389 B

After

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Some files were not shown because too many files have changed in this diff Show More