• R/O
  • SSH

traclightning: Commit

traclightningのリポジトリ


Commit MetaInfo

Revision84a5a9673d57144b49dce1801d5db67e79de9950 (tree)
Zeit2015-05-04 04:45:07
AutorJun Omae <jun66j5@gmai...>
CommiterJun Omae

Log Message

Use 'attachment add' of trac-admin rather than directly inserting to attachment table

Ändern Zusammenfassung

Diff

diff -r 9213f0bb24e6 -r 84a5a9673d57 etc/opt/kanon/trac-template/agile/trac-init.sql
--- a/etc/opt/kanon/trac-template/agile/trac-init.sql Sun May 03 14:46:42 2015 +0900
+++ b/etc/opt/kanon/trac-template/agile/trac-init.sql Mon May 04 04:45:07 2015 +0900
@@ -27,10 +27,6 @@
2727 INSERT INTO session_attribute values ('guest', '1','enabled','1');
2828 INSERT INTO session_attribute values ('leader', '1','name','頭春蔵');
2929 INSERT INTO session_attribute values ('leader', '1','enabled','1');
30-INSERT INTO attachment values ('wiki', 'UserManagerPluginPictures', 'admin-penguin.png',0,0,'admin', 'Avatar','127.0.0.1');
31-INSERT INTO attachment values ('wiki', 'UserManagerPluginPictures', 'guest-hamster.png',0,0,'guest', 'Avatar','127.0.0.1');
32-INSERT INTO attachment values ('wiki', 'UserManagerPluginPictures', 'leader-cat.png',0,0,'leader', 'Avatar','127.0.0.1');
33-
3430
3531 INSERT INTO report VALUES(18,'trac',"バックログの確認",
3632 "SELECT
diff -r 9213f0bb24e6 -r 84a5a9673d57 etc/opt/kanon/trac-template/agile/trac-wiki/UserManagerPluginPictures
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/opt/kanon/trac-template/agile/trac-wiki/UserManagerPluginPictures Mon May 04 04:45:07 2015 +0900
@@ -0,0 +1,1 @@
1+See attachments.
diff -r 9213f0bb24e6 -r 84a5a9673d57 etc/opt/kanon/trac-template/default/trac-init.sql
--- a/etc/opt/kanon/trac-template/default/trac-init.sql Sun May 03 14:46:42 2015 +0900
+++ b/etc/opt/kanon/trac-template/default/trac-init.sql Mon May 04 04:45:07 2015 +0900
@@ -31,9 +31,6 @@
3131 INSERT INTO session_attribute values ('guest', '1','enabled','1');
3232 INSERT INTO session_attribute values ('leader', '1','name','頭春蔵');
3333 INSERT INTO session_attribute values ('leader', '1','enabled','1');
34-INSERT INTO attachment values ('wiki', 'UserManagerPluginPictures', 'admin-penguin.png',0,0,'admin', 'Avatar','127.0.0.1');
35-INSERT INTO attachment values ('wiki', 'UserManagerPluginPictures', 'guest-hamster.png',0,0,'guest', 'Avatar','127.0.0.1');
36-INSERT INTO attachment values ('wiki', 'UserManagerPluginPictures', 'leader-cat.png',0,0,'leader', 'Avatar','127.0.0.1');
3734
3835 INSERT INTO report VALUES('9','','未解決チケット(進捗確認用)',
3936
diff -r 9213f0bb24e6 -r 84a5a9673d57 etc/opt/kanon/trac-template/default/trac-wiki/UserManagerPluginPictures
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/opt/kanon/trac-template/default/trac-wiki/UserManagerPluginPictures Mon May 04 04:45:07 2015 +0900
@@ -0,0 +1,1 @@
1+See attachments.
diff -r 9213f0bb24e6 -r 84a5a9673d57 install/avatars/admin-penguin.png
Binary file install/avatars/admin-penguin.png has changed
diff -r 9213f0bb24e6 -r 84a5a9673d57 install/avatars/guest-hamster.png
Binary file install/avatars/guest-hamster.png has changed
diff -r 9213f0bb24e6 -r 84a5a9673d57 install/avatars/leader-cat.png
Binary file install/avatars/leader-cat.png has changed
diff -r 9213f0bb24e6 -r 84a5a9673d57 install/replace/create-project.bat.in
--- a/install/replace/create-project.bat.in Sun May 03 14:46:42 2015 +0900
+++ b/install/replace/create-project.bat.in Mon May 04 04:45:07 2015 +0900
@@ -47,6 +47,7 @@
4747 echo permission add leader MILESTONE_CREATE MILESTONE_MODIFY TICKET_ADMIN
4848 echo permission add guest developer
4949 echo wiki load "%TRAC_LIGHT_HOME%\etc\opt\kanon\trac-template\%PROFILE%\trac-wiki"
50+ for %%i in ("%TRAC_LIGHT_HOME%\install\avatars\*.png") do @echo attachment add wiki:UserManagerPluginPictures %%i
5051 echo config set trac authz_file "%TL_PROJECT_HOME:\=/%/svnauthz"
5152 echo config set trac authz_module_name "%PROJNAME%"
5253 ) | "%TRAC_LIGHT_HOME%\python\scripts\trac-admin.exe" "%TL_PROJECT_HOME%/trac/%PROJNAME%">nul
diff -r 9213f0bb24e6 -r 84a5a9673d57 install/trac-template/attachments/wiki/UserManagerPluginPictures/admin-penguin.png
Binary file install/trac-template/attachments/wiki/UserManagerPluginPictures/admin-penguin.png has changed
diff -r 9213f0bb24e6 -r 84a5a9673d57 install/trac-template/attachments/wiki/UserManagerPluginPictures/guest-hamster.png
Binary file install/trac-template/attachments/wiki/UserManagerPluginPictures/guest-hamster.png has changed
diff -r 9213f0bb24e6 -r 84a5a9673d57 install/trac-template/attachments/wiki/UserManagerPluginPictures/leader-cat.png
Binary file install/trac-template/attachments/wiki/UserManagerPluginPictures/leader-cat.png has changed
diff -r 9213f0bb24e6 -r 84a5a9673d57 install/trac-template/htdocs/Thumbs.db
Binary file install/trac-template/htdocs/Thumbs.db has changed
diff -r 9213f0bb24e6 -r 84a5a9673d57 trac.iss
--- a/trac.iss Sun May 03 14:46:42 2015 +0900
+++ b/trac.iss Mon May 04 04:45:07 2015 +0900
@@ -52,7 +52,8 @@
5252 Source: install\textreplace.py; DestDir: {app}\install\
5353 Source: install\trac-extract-static-resources.py; DestDir: {app}\install\
5454 Source: install\replace\*; DestDir: {app}\install\replace; Flags: recursesubdirs sortfilesbyextension; Excludes: \httpd-ssl.conf,\jenkins.bat.in,\jenkins.xml.in,\mod_wsgi.so
55-Source: install\trac-template\*; DestDir: {app}\install\trac-template; Flags: recursesubdirs sortfilesbyextension; Excludes: Thumbs.db
55+Source: install\avatars\*; DestDir: {app}\install\avatars; Flags: recursesubdirs sortfilesbyextension
56+Source: install\trac-template\*; DestDir: {app}\install\trac-template; Flags: recursesubdirs sortfilesbyextension
5657 Source: install\repository\*; DestDir: {app}\install\repository; Flags: recursesubdirs sortfilesbyextension
5758 Source: etc\*; DestDir: {app}\etc; Flags: recursesubdirs sortfilesbyextension
5859 Source: bin\*; DestDir: {app}\bin; Flags: recursesubdirs sortfilesbyextension
Show on old repository browser