]> wagner.pp.ru Git - oss/ljdump.git/log
oss/ljdump.git
15 years agoi'm an idiot and forgot to blow away the variable declarations inside
Sean Graham [Fri, 27 Feb 2009 15:38:25 +0000 (23:38 +0800)]
i'm an idiot and forgot to blow away the variable declarations inside
replaceLJTags after moving them to the global scope.

Signed-off-by: Greg Hewgill <greg@hewgill.com>
15 years agochanged the way i replace the lj-user tags; lj usernames allow underscores,
Sean Graham [Fri, 13 Feb 2009 17:08:28 +0000 (01:08 +0800)]
changed the way i replace the lj-user tags;  lj usernames allow underscores,
domains do not.  Rather that converting the underscores to hyphens, I used
the alternate URL scheme supported by LJ

disabled the lj-embed code until i can figure out how to make it actually
work

Signed-off-by: Greg Hewgill <greg@hewgill.com>
15 years agoMoved the "lj tag" regular expression objects to the global scope (so they
grahams [Sun, 8 Feb 2009 22:04:42 +0000 (06:04 +0800)]
Moved the "lj tag" regular expression objects to the global scope (so they
don't need to be recompiled on each iteration).  --suggestion by jparise

Signed-off-by: Greg Hewgill <greg@hewgill.com>
15 years agonow replace lj comm as well as lj-cut tags
grahams [Sat, 7 Feb 2009 18:31:02 +0000 (02:31 +0800)]
now replace lj comm as well as lj-cut tags

Signed-off-by: Greg Hewgill <greg@hewgill.com>
15 years agoadded regex to replace "lj user" tags with normal links.
grahams [Fri, 6 Feb 2009 04:51:15 +0000 (12:51 +0800)]
added regex to replace "lj user" tags with normal links.
links are set to class='lj-user' too allow for potential css manipulation in
the future

Signed-off-by: Greg Hewgill <greg@hewgill.com>
15 years agoAdd vim modeline for ljdump.py
Tom Parker [Mon, 13 Apr 2009 23:52:14 +0000 (07:52 +0800)]
Add vim modeline for ljdump.py

ljdump.py is written with expanded (i.e. spaces for tabs) 4-space tabs,
which isn't the same as everyone's (certianly not my) default settings.
This patch adds a vim modeline to the end of the file to force a change in
settings for this file

Signed-off-by: Greg Hewgill <greg@hewgill.com>
15 years agoHandle weird comment retrieval permissions case
Tom Parker [Mon, 13 Apr 2009 23:50:00 +0000 (07:50 +0800)]
Handle weird comment retrieval permissions case

Saw the error

Fetching journal entries for: palfrey
Fetching journal entry L-867 (create)
Fetching journal comments for: palfrey
*** Error fetching comment meta, possibly not community maintainer?

Traceback (most recent call last):
 File "ljdump.py", line 358, in <module>
   ljdump(server, username, password, username)
 File "ljdump.py", line 244, in ljdump
   r.close()
AttributeError: 'dict' object has no attribute 'close'

(notably, this is my personal journal, so missing permissions shouldn't
happen)

This patch handles this weird case (which will probably never now happen
again)

Signed-off-by: Greg Hewgill <greg@hewgill.com>
15 years agoversion 1.5 includes convertdump.py
Greg Hewgill [Wed, 4 Feb 2009 07:51:35 +0000 (20:51 +1300)]
version 1.5 includes convertdump.py

15 years agoMerge branch 'master' of git@github.com:grahams/ljdump
grahams [Wed, 4 Feb 2009 04:43:42 +0000 (23:43 -0500)]
Merge branch 'master' of git@github.com:grahams/ljdump

15 years agousing getopt for cli option handling.
grahams [Wed, 4 Feb 2009 04:30:22 +0000 (23:30 -0500)]
using getopt for cli option handling.

15 years agousing getopt for cli option handling.
grahams [Wed, 4 Feb 2009 04:30:22 +0000 (23:30 -0500)]
using getopt for cli option handling.

15 years agoFixed handling of security/allowmask tags
grahams [Wed, 4 Feb 2009 04:03:30 +0000 (23:03 -0500)]
Fixed handling of security/allowmask tags
Added cli flag for omitting/including secure entries.  Flag kinda wonky
Going to replace all the CLI arg parsing with getopt

15 years agoadded license text
Sean Graham [Mon, 2 Feb 2009 04:56:05 +0000 (23:56 -0500)]
added license text

15 years agoAccepted patch from Carl Johan Crafoord <mail@carljohancrafoord.se>
Sean M. Graham [Sun, 1 Feb 2009 05:13:51 +0000 (00:13 -0500)]
Accepted patch from Carl Johan Crafoord <mail@carljohancrafoord.se>
    - Removed unused "entryLimit" default value, since it was always
      overridden by the required cli argument.
    - Removed condition where the last few entries wouldn't be written out
      to disk.

15 years agoadded command line arguments and some comments and warnings
Sean M. Graham [Sun, 25 Jan 2009 20:44:30 +0000 (15:44 -0500)]
added command line arguments and some comments and warnings

15 years agomostly working now. need to unhardcode username and breakup limit
Sean M. Graham [Sun, 25 Jan 2009 20:24:04 +0000 (15:24 -0500)]
mostly working now.  need to unhardcode username and breakup limit

WP importer doesn't seem to respect security/allowmask.
In addition, convertdump.py doesn't handle allowmask correctly, need to
observe <security> tag before worrying about allowmask

15 years agobuilds one big file now of all entries and comments for the user
Sean M. Graham [Sun, 25 Jan 2009 01:59:42 +0000 (20:59 -0500)]
builds one big file now of all entries and comments for the user

15 years agoCreated new convertdump script
Sean M. Graham [Sat, 24 Jan 2009 23:58:53 +0000 (18:58 -0500)]
Created new convertdump script

15 years agoversion 1.4 changelog ljdump-1.4
Greg Hewgill [Tue, 13 Jan 2009 10:16:18 +0000 (23:16 +1300)]
version 1.4 changelog

15 years agoversion 1.4
Greg Hewgill [Tue, 13 Jan 2009 10:11:50 +0000 (23:11 +1300)]
version 1.4

15 years agoadd community download support
Greg Hewgill [Tue, 13 Jan 2009 10:11:20 +0000 (23:11 +1300)]
add community download support

15 years agoversion 1.3.3 ljdump-1.3.3
Greg Hewgill [Sat, 10 Jan 2009 02:37:17 +0000 (15:37 +1300)]
version 1.3.3

15 years agohandle more potential non-filename characters in userpic keywords
Greg Hewgill [Sat, 10 Jan 2009 01:46:51 +0000 (14:46 +1300)]
handle more potential non-filename characters in userpic keywords

15 years agoautomatically fall back to Latin-1 for old entries that aren't UTF-8
Greg Hewgill [Sat, 10 Jan 2009 01:45:01 +0000 (14:45 +1300)]
automatically fall back to Latin-1 for old entries that aren't UTF-8

15 years agoprompt for username and password if no config file
Greg Hewgill [Sat, 10 Jan 2009 00:52:42 +0000 (13:52 +1300)]
prompt for username and password if no config file

15 years agomove README to separate file
Greg Hewgill [Sat, 10 Jan 2009 00:27:33 +0000 (13:27 +1300)]
move README to separate file

15 years agoinitial cut of gui
Greg Hewgill [Sat, 10 Jan 2009 00:24:02 +0000 (13:24 +1300)]
initial cut of gui

15 years agorefactor implementation so ljdump can be called as a module
Greg Hewgill [Sat, 10 Jan 2009 00:23:27 +0000 (13:23 +1300)]
refactor implementation so ljdump can be called as a module

15 years agoversion 1.3.2 ljdump-1.3.2
Greg Hewgill [Thu, 8 Jan 2009 18:29:57 +0000 (07:29 +1300)]
version 1.3.2

15 years agohandle path separators in userpic keywords
Greg Hewgill [Thu, 8 Jan 2009 18:28:50 +0000 (07:28 +1300)]
handle path separators in userpic keywords

15 years agoupdate todo
Greg Hewgill [Thu, 8 Jan 2009 18:28:57 +0000 (07:28 +1300)]
update todo

15 years agofix filename generation for platforms that don't quite handle UTF-8 filenames
Greg Hewgill [Thu, 8 Jan 2009 10:46:33 +0000 (23:46 +1300)]
fix filename generation for platforms that don't quite handle UTF-8 filenames

15 years agoupdate to version 1.3.1
Greg Hewgill [Thu, 8 Jan 2009 10:49:24 +0000 (23:49 +1300)]
update to version 1.3.1

15 years agoupdate todo
Greg Hewgill [Thu, 8 Jan 2009 11:10:43 +0000 (00:10 +1300)]
update todo

15 years agomention ljdump community
Greg Hewgill [Thu, 8 Jan 2009 11:09:53 +0000 (00:09 +1300)]
mention ljdump community

15 years agoresume download if interrupted
Greg Hewgill [Thu, 8 Jan 2009 11:06:41 +0000 (00:06 +1300)]
resume download if interrupted

15 years agohandle unexpected empty item
Greg Hewgill [Thu, 8 Jan 2009 11:01:08 +0000 (00:01 +1300)]
handle unexpected empty item

15 years agodownload and save userpic images
Greg Hewgill [Thu, 8 Jan 2009 10:46:33 +0000 (23:46 +1300)]
download and save userpic images

15 years agohandle non-ASCII characters in userpic keywords
Greg Hewgill [Thu, 8 Jan 2009 09:17:06 +0000 (22:17 +1300)]
handle non-ASCII characters in userpic keywords

15 years agoadd some todo entries
Greg Hewgill [Wed, 7 Jan 2009 09:40:22 +0000 (22:40 +1300)]
add some todo entries

16 years agotodo item
greg [Wed, 10 Sep 2008 09:49:35 +0000 (09:49 +0000)]
todo item

git-svn-id: file:///home/svn/ljdump/trunk@21 7994a137-d0a5-da11-ade6-0050bffea3d9

16 years agoadd TODO
greg [Mon, 7 Apr 2008 19:36:06 +0000 (19:36 +0000)]
add TODO

git-svn-id: file:///home/svn/ljdump/trunk@20 7994a137-d0a5-da11-ade6-0050bffea3d9

18 years agoversion 1.2
greg [Fri, 8 Sep 2006 08:51:19 +0000 (08:51 +0000)]
version 1.2

git-svn-id: file:///home/svn/ljdump/trunk@18 7994a137-d0a5-da11-ade6-0050bffea3d9

18 years agoget userpic data
greg [Fri, 8 Sep 2006 08:46:56 +0000 (08:46 +0000)]
get userpic data

git-svn-id: file:///home/svn/ljdump/trunk@17 7994a137-d0a5-da11-ade6-0050bffea3d9

18 years agohandle server url properly
greg [Tue, 10 Jan 2006 04:19:31 +0000 (04:19 +0000)]
handle server url properly

git-svn-id: file:///home/svn/ljdump/trunk@16 7994a137-d0a5-da11-ade6-0050bffea3d9

18 years agoadd comment functionality
greg [Tue, 10 Jan 2006 04:11:07 +0000 (04:11 +0000)]
add comment functionality

git-svn-id: file:///home/svn/ljdump/trunk@15 7994a137-d0a5-da11-ade6-0050bffea3d9

18 years agohandle missing .last properly
greg [Mon, 26 Dec 2005 00:34:07 +0000 (00:34 +0000)]
handle missing .last properly

git-svn-id: file:///home/svn/ljdump/trunk@14 7994a137-d0a5-da11-ade6-0050bffea3d9

18 years agoinitial commit
greg [Sun, 25 Dec 2005 19:21:43 +0000 (19:21 +0000)]
initial commit

git-svn-id: file:///home/svn/ljdump/trunk@13 7994a137-d0a5-da11-ade6-0050bffea3d9

18 years agoautomatic md5
greg [Sun, 25 Dec 2005 19:19:26 +0000 (19:19 +0000)]
automatic md5

git-svn-id: file:///home/svn/ljdump/trunk@12 7994a137-d0a5-da11-ade6-0050bffea3d9

18 years agoget new and updated entries
greg [Sun, 25 Dec 2005 18:24:23 +0000 (18:24 +0000)]
get new and updated entries

git-svn-id: file:///home/svn/ljdump/trunk@11 7994a137-d0a5-da11-ade6-0050bffea3d9

19 years agoadd +x
greg [Fri, 25 Nov 2005 20:31:13 +0000 (20:31 +0000)]
add +x

git-svn-id: file:///home/svn/ljdump/trunk@10 7994a137-d0a5-da11-ade6-0050bffea3d9

19 years agoinclude ChangeLog
greg [Fri, 25 Nov 2005 20:11:39 +0000 (20:11 +0000)]
include ChangeLog

git-svn-id: file:///home/svn/ljdump/trunk@9 7994a137-d0a5-da11-ade6-0050bffea3d9

19 years agoadd .tar.gz build
greg [Fri, 25 Nov 2005 20:08:28 +0000 (20:08 +0000)]
add .tar.gz build

git-svn-id: file:///home/svn/ljdump/trunk@8 7994a137-d0a5-da11-ade6-0050bffea3d9

19 years agocorrect total item count, add shebang line
greg [Fri, 25 Nov 2005 20:08:20 +0000 (20:08 +0000)]
correct total item count, add shebang line

git-svn-id: file:///home/svn/ljdump/trunk@7 7994a137-d0a5-da11-ade6-0050bffea3d9

19 years agoadd build script
greg [Fri, 25 Nov 2005 19:07:58 +0000 (19:07 +0000)]
add build script

git-svn-id: file:///home/svn/ljdump/trunk@6 7994a137-d0a5-da11-ade6-0050bffea3d9

19 years agoserver config item, docs
greg [Fri, 25 Nov 2005 19:04:21 +0000 (19:04 +0000)]
server config item, docs

git-svn-id: file:///home/svn/ljdump/trunk@5 7994a137-d0a5-da11-ade6-0050bffea3d9

19 years agocreate dir if needed
greg [Fri, 25 Nov 2005 18:49:12 +0000 (18:49 +0000)]
create dir if needed

git-svn-id: file:///home/svn/ljdump/trunk@4 7994a137-d0a5-da11-ade6-0050bffea3d9

19 years agosave archive in dir named by username, misc cleanup
greg [Fri, 25 Nov 2005 18:34:46 +0000 (18:34 +0000)]
save archive in dir named by username, misc cleanup

git-svn-id: file:///home/svn/ljdump/trunk@3 7994a137-d0a5-da11-ade6-0050bffea3d9

19 years agoinitial commit
greg [Fri, 25 Nov 2005 06:35:01 +0000 (06:35 +0000)]
initial commit

git-svn-id: file:///home/svn/ljdump/trunk@2 7994a137-d0a5-da11-ade6-0050bffea3d9

19 years agoNew repository initialized by cvs2svn.
(no author) [Fri, 25 Nov 2005 06:35:01 +0000 (06:35 +0000)]
New repository initialized by cvs2svn.

git-svn-id: file:///home/svn/ljdump/trunk@1 7994a137-d0a5-da11-ade6-0050bffea3d9