uujgii / web-to-print-scripts

Automatically exported from code.google.com/p/web-to-print-scripts
0 stars 0 forks source link

Pre-deployment clean-up #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Clean up and prepare scripts for deployment:

fileUpload.js - works on preview page
imageEditor.js - works on My Images and previews page (click on an image thumb 
to activate)
multiFileUpload.js - works on My Images page

Original issue reported on code.google.com by zetapri...@gmail.com on 24 Jun 2010 at 1:31

GoogleCodeExporter commented 9 years ago

Original comment by trilobit.alex@gmail.com on 24 Jun 2010 at 1:58

GoogleCodeExporter commented 9 years ago
Issue 36 has been merged into this issue.

Original comment by zetapri...@gmail.com on 25 Jun 2010 at 1:33

GoogleCodeExporter commented 9 years ago
Test all scripts with our skeleton CSS, major skins and G-skin (briefly).

They all need to have IE6 fall-back or they need to be proved to work with CSS.

Color picker should work with IE6 regardless.
We will disable our default color picker script once the new one is ready.

Just a reminder that skins can be found here 
http://www.zetaprints.com/help/category/skins/
No point testing with the same skin, different color. If it works on blue it 
should work on red, unless you think there is conflict with colors.

Original comment by zetapri...@gmail.com on 25 Jun 2010 at 1:34

GoogleCodeExporter commented 9 years ago
SVN release
http://code.google.com/p/web-to-print-scripts/source/detail?r=121

The URLs were changed to the new
http://zetaprints.com/java/dev/20100625/imageEditor.js
http://zetaprints.com/java/dev/20100625/fileUpload.js
http://zetaprints.com/java/dev/20100625/multiFileUpload.js

Original comment by trilobit.alex@gmail.com on 26 Jun 2010 at 3:02

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 27 Jun 2010 at 10:32

GoogleCodeExporter commented 9 years ago
We'll need to re-package it for testing once the blocking issues are resolved.

Original comment by zetapri...@gmail.com on 28 Jun 2010 at 12:06

GoogleCodeExporter commented 9 years ago
On "My Images" page:
after upload new image, server returns code:
<div id="A04A631B-79CA-4C5E-9CCE-C2E45AD2D853">
  <table class="image-thumb">
    <tbody>
      <tr>
        <td class="top" nowrap="nowrap">
          <span class="img-size">
          <ul class="image-menu" id="mulA04A631B-79CA-4C5E-9CCE-C2E45AD2D853">
            <li>
              <span>
                <a name="A04A631B-79CA-4C5E-9CCE-C2E45AD2D853" href="/java/dev/imageEditor.html?iframe">Edit</a>
              </span>
            </li>
            <li>
          </ul>
        </td>
      </tr>
      <tr>
        <td nowrap="nowrap" class="title" id="ttlA04A631B-79CA-4C5E-9CCE-C2E45AD2D853">
          <input onblur="this.className=''" onclick="this.className='edit'" onkeypress="EditTitleKey(this,event);" type="text" name="TitleEdit" value=""/>
          <div>
        </td>
      </tr>
      <tr>
      <tr>
      <tr>
    </tbody>
  </table>
</div>

but after refresh page (or after load) block of image have code:
<div id="A87DD9BB-6A98-4251-BAAE-9DF16E8FC3ED">
  <table class="image-thumb">
    <tbody>
      <tr>
        <td class="top" nowrap="nowrap">
          <span class="img-size">
          <ul class="image-menu" id="mulA87DD9BB-6A98-4251-BAAE-9DF16E8FC3ED">
            <li>
              <span>
                <a name="A87DD9BB-6A98-4251-BAAE-9DF16E8FC3ED" href="/java/dev/imageEditor.html?iframe">Edit</a>
              </span>
            </li>
            <li>
          </ul>
        </td>
      </tr>
      <tr>  <!-- ****************************** -->
        <td nowrap="nowrap" class="title-folder">
          <a href="?page=images;ImageFolder=Default">Default</a>
        </td>
      </tr>  <!-- ****************************** -->
      <tr>
        <td nowrap="nowrap" class="title" id="ttlA87DD9BB-6A98-4251-BAAE-9DF16E8FC3ED">
          <input onblur="this.className=''" onclick="this.className='edit'" onkeypress="EditTitleKey(this,event);" type="text" name="TitleEdit" value="" class=""/>
          <div>
        </td>
      </tr>
      <tr>
      <tr>
      <tr>
    </tbody>
  </table>
</div>

Original comment by trilobit.alex@gmail.com on 1 Jul 2010 at 12:46

GoogleCodeExporter commented 9 years ago

Original comment by trilobit.alex@gmail.com on 1 Jul 2010 at 12:49

Attachments:

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/web-to-print-scripts/issues/detail?id=42&colspec=ID%20T
ype%20Status%20Stream%20Unit%20Summary%20Wiki%20Help%20Features%20BlockedOn%20Bl
ocking#c7

Original comment by trilobit.alex@gmail.com on 5 Jul 2010 at 4:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Last SVN release
http://code.google.com/p/web-to-print-scripts/source/detail?r=130

Last changes
http://code.google.com/p/web-to-print-scripts/source/diff?spec=svn130&r=130&form
at=side&path=/branches/bulk_upload/multiFileUpload.js
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/file_upload/fileUpload.js&r=130&spec=svn130
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/image_editor/imageEditor.js&r=130&spec=svn130
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/image_editor/zp-image-edit.js&r=130&spec=svn130

This issue changes
http://code.google.com/p/web-to-print-scripts/source/diff?spec=svn130&old=124&r=
130&format=side&path=%2Fbranches%2Fbulk_upload%2FmultiFileUpload.js
http://code.google.com/p/web-to-print-scripts/source/diff?spec=svn130&old=122&r=
130&format=side&path=%2Fbranches%2Ffile_upload%2FfileUpload.js
http://code.google.com/p/web-to-print-scripts/source/diff?spec=svn130&old=124&r=
130&format=side&path=%2Fbranches%2Fimage_editor%2FimageEditor.js
http://code.google.com/p/web-to-print-scripts/source/diff?spec=svn130&old=99&r=1
30&format=side&path=%2Fbranches%2Fimage_editor%2Fzp-image-edit.js

Scripts deployed to
http://zetaprints.com/java/dev/20100707/imageEditor.js
http://zetaprints.com/java/dev/20100707/multiFileUpload.js
http://zetaprints.com/java/dev/20100707/fileUpload.js
http://zetaprints.com/java/dev/20100707/image-editor/zp-image-edit.js

Original comment by trilobit.alex@gmail.com on 7 Jul 2010 at 6:14

GoogleCodeExporter commented 9 years ago
Tested on:
http://realestate.zetaprints.com/

CSS:
http://zetaprints.com/java/dev/20100625/g-skin/styles.css

Scripts:
http://realestate.zetaprints.com/java/test/1/jquery.min.js
http://zetaprints.com/java/dev/20100707/imageEditor.js
http://zetaprints.com/java/dev/20100707/multiFileUpload.js
http://zetaprints.com/java/dev/20100707/fileUpload.js
http://zetaprints.com/java/dev/20100614/colorPicker.js

The script it self works fine in all skins.

We do need to make "Cancel" buttons for every skin. Only G-skin has it at the 
moment. Other skins show it as text, nobody will know it is clickable 
(cancel_upload_black.png and cancel_upload_olive.png).

IE6 fallback:
Am I testing this while someone is working on "edit" button? "Edit" buttons are 
enabled on "My images" page thumbs grid in IE6. Old script gets activated.

Original comment by agur...@gmail.com on 8 Jul 2010 at 5:21

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 9 Jul 2010 at 1:36

GoogleCodeExporter commented 9 years ago
Important: do not use a link to jquery any more
jQuery is included in every page on the site by default.

http://www.zetaprints.com/blog/2010/06/28/jquery-is-available-by-default/

Original comment by zetapri...@gmail.com on 9 Jul 2010 at 1:40

GoogleCodeExporter commented 9 years ago
Last SVN release
http://code.google.com/p/web-to-print-scripts/source/detail?r=132
http://code.google.com/p/web-to-print-scripts/source/detail?r=133

Last changes
http://code.google.com/p/web-to-print-scripts/source/diff?spec=svn132&r=132&form
at=side&path=/branches/skins/Black/styles.css
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/Green/styles.css&r=132&spec=svn132
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/Grey/styles.css&r=132&spec=svn132
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/Jeans/styles.css&r=132&spec=svn132
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/Olive/styles.css&r=132&spec=svn132
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/Red/styles.css&r=132&spec=svn132
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/Zeta/main.css&r=132&spec=svn132
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/ZetaGreen/main.css&r=132&spec=svn132
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/javierata_deviant/main.css&r=132&spec=svn132
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/javierata_greenblueorange/main.css&r=132&spec=svn132
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/javierata_orange/main.css&r=132&spec=svn132
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/javierata_red/main.css&r=132&spec=svn132
http://code.google.com/p/web-to-print-scripts/source/diff?spec=svn133&r=133&form
at=side&path=/branches/skins/Black_fix/styles.css
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/Green_fix/styles.css&r=133&spec=svn133
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/Grey_fix/styles.css&r=133&spec=svn133
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/Jeans_fix/styles.css&r=133&spec=svn133
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/Olive_fix/styles.css&r=133&spec=svn133
http://code.google.com/p/web-to-print-scripts/source/diff?format=side&path=/bran
ches/skins/Red_fix/styles.css&r=133&spec=svn133

Skins deployed to
http://zetaprints.com/java/dev/20100716/g-skin/styles.css
http://zetaprints.com/java/dev/20100716/Black/styles.css
http://zetaprints.com/java/dev/20100716/Green/styles.css
http://zetaprints.com/java/dev/20100716/Grey/styles.css
http://zetaprints.com/java/dev/20100716/Jeans/styles.css
http://zetaprints.com/java/dev/20100716/Olive/styles.css
http://zetaprints.com/java/dev/20100716/Red/styles.css
http://zetaprints.com/java/dev/20100716/Black_fix/styles.css
http://zetaprints.com/java/dev/20100716/Green_fix/styles.css
http://zetaprints.com/java/dev/20100716/Grey_fix/styles.css
http://zetaprints.com/java/dev/20100716/Jeans_fix/styles.css
http://zetaprints.com/java/dev/20100716/Olive_fix/styles.css
http://zetaprints.com/java/dev/20100716/Red_fix/styles.css
http://zetaprints.com/java/dev/20100716/Zeta/main.css
http://zetaprints.com/java/dev/20100716/ZetaGreen/main.css
http://zetaprints.com/java/dev/20100716/javierata_deviant/main.css
http://zetaprints.com/java/dev/20100716/javierata_greenblueorange/main.css
http://zetaprints.com/java/dev/20100716/javierata_orange/main.css
http://zetaprints.com/java/dev/20100716/javierata_red/main.css

Original comment by trilobit.alex@gmail.com on 16 Jul 2010 at 7:19

GoogleCodeExporter commented 9 years ago
The button appears on all skin CSS listed. Styles work fine.

The skins that need to be updated are sitting in these folders:

http://www.zetaprints.com/help/skins/ (updated skins that we can change and fix 
as we go along)
and
http://www.zetaprints.com/skins/ (static skins that only require new features 
like this one to be styled, not to be changed otherwise)

You don't need to fix skins like Olive_fix.css Those are just for testing and 
work in progress.

Basically, apart from the G-skin, Zeta skins and javierata skins you have fixed 
(upload them), the button should be in these skins:

http://www.zetaprints.com/help/skins/Black/styles.css
http://www.zetaprints.com/help/skins/Red/styles.css
http://www.zetaprints.com/help/skins/Olive/styles.css
http://www.zetaprints.com/help/skins/Jeans/styles.css
http://www.zetaprints.com/help/skins/Grey/styles.css
http://www.zetaprints.com/help/skins/Green/styles.css

and the static versions of them (just add the button, no other changes/fixes in 
these):

http://www.zetaprints.com/skins/Black/styles.css
http://www.zetaprints.com/skins/Red/styles.css
http://www.zetaprints.com/skins/Olive/styles.css
http://www.zetaprints.com/skins/Jeans/styles.css
http://www.zetaprints.com/skins/Grey/styles.css
http://www.zetaprints.com/skins/Green/styles.css

Original comment by agur...@gmail.com on 16 Jul 2010 at 8:36

GoogleCodeExporter commented 9 years ago
Alex has not access to prod. Can you upload them?

Original comment by zetapri...@gmail.com on 16 Jul 2010 at 8:41

GoogleCodeExporter commented 9 years ago
Sure.

Ales, can you give me the css files you changed? You didn't use any images 
right? Zip up all of the ones you listed above (http://zetaprints.com/java...) 
and I'll replace them in the www.zetaprints.com/skins folder.

I've attached that other folder. These are basically the same skins but we've 
made a few changes and fixes here and there. I guess you can just add the 
required class styles in them for the button and send back to me to upload 
those as well.

Original comment by agur...@gmail.com on 16 Jul 2010 at 9:00

Attachments:

GoogleCodeExporter commented 9 years ago
There is the new archive in the attachment.

Original comment by trilobit.alex@gmail.com on 16 Jul 2010 at 9:15

Attachments:

GoogleCodeExporter commented 9 years ago
I don't see a new archive in the attachment. Just the 6 folders that were in my 
attachment.

Original comment by agur...@gmail.com on 16 Jul 2010 at 9:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sorry, I didn't add another skins.

Original comment by trilobit.alex@gmail.com on 16 Jul 2010 at 10:07

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 16 Jul 2010 at 10:28

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 17 Jul 2010 at 2:24

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 17 Jul 2010 at 2:27

GoogleCodeExporter commented 9 years ago
Put the scripts in /trunk/js-system/*
This will be the location for scripts that go to zetaprints.com

Scripts for www.zetaprints.com will to a separate folder.

Hopefully it will be sensible enough to separate them this way.

Original comment by zetapri...@gmail.com on 22 Jul 2010 at 6:16

GoogleCodeExporter commented 9 years ago
SVN release:
http://code.google.com/p/web-to-print-scripts/source/detail?r=136

The scripts committed in /trunk/js-system/

Original comment by trilobit.alex@gmail.com on 24 Jul 2010 at 7:14

GoogleCodeExporter commented 9 years ago
Scripts are in:
http://code.google.com/p/web-to-print-scripts/source/browse/#svn/trunk/js-system

Original comment by agur...@gmail.com on 20 Oct 2010 at 1:31