Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Websubmit crop #46

Open
wants to merge 3 commits into
base: prod
Choose a base branch
from

Conversation

drjova
Copy link

@drjova drjova commented Jul 18, 2014

Please do not merge it yet work in progress

@drjova
Copy link
Author

drjova commented Jul 22, 2014

It's now based on latest master.

@drjova drjova changed the title WIP: Websubmit crop Websubmit crop Jul 23, 2014
@drjova
Copy link
Author

drjova commented Jul 24, 2014

It's ready for production

@drjova
Copy link
Author

drjova commented Jul 25, 2014

Language tab added on submission

screen shot 2014-07-25 at 12 17 44 pm

'can_upload_photos': can_upload_photos and 'true' or 'false',
'upload_display': not can_upload_photos and 'display: none' or '',
'editor_width_style': editor_width and 'width:%spx;' % editor_width or '',
'editor_height_style': editor_height and 'height:%spx;' % editor_height or ''}
}

return out

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lines 648, 653: there are some unmatched quotes and some typos:
message = 'There is one duplicate ' +

  • '["+files[duplicates[0]].name+"].' +
  • '\n Press ok to replace it' +
  • 'otherwise ancel to ignore it.';

should be:

message = 'There is one duplicate ' +

  • '['+files[duplicates[0]].name+'].' +
  • '\n Press ok to replace it ' +
  • 'otherwise cancel to ignore it.';

(this has been fixed on production)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the notice, I have amended with the fix and rebase against the latest master.

drjova and others added 3 commits August 28, 2014 10:17
* Replaces the uploadify plugin with the plupload plugin
  (drag-and-drop)

* Adds the possibility of replacing photos

Signed-off-by: Charalampos Tzovanakis <[email protected]>
Reviewed-by: Ludmila Marian <[email protected]>

Conflicts:
	modules/websubmit/lib/websubmit_webinterface.py
* Crop images on photo submit

* Adds to web icon new `crop` format

* HTTP API to crop images on the fly and serve them

Signed-off-by: Charalampos Tzovanakis <[email protected]>
* Adds tabs on uploaded image captions with English and French languages
@drjova drjova force-pushed the master-websubmit-photo-crop branch from 35a4317 to e943849 Compare August 28, 2014 08:28
@drjova drjova changed the title Websubmit crop WIP Websubmit crop Sep 22, 2014
@kasioumis
Copy link

@drjova & @ludmilamarian Is this ready to be merged? Or is still WIP?

@drjova
Copy link
Author

drjova commented Oct 8, 2014

it's still WIP

@egabancho
Copy link
Member

I see the three commits are deployed already, is there any reason not to merge this commits already and them develop more on top of them?

@kasioumis has seen some conflicts between his code and yours which cannot be resolved unless we merge everything that is in production ....

@drjova
Copy link
Author

drjova commented Oct 9, 2014

The submission will change completely again for albums which is almost done on test. What kind of conflicts?

@egabancho
Copy link
Member

Ok, we can discuss this IRL

@kasioumis
Copy link

There are some conflicts in websubmit_config.py and websubmit_webinterface.py. Nothing major, but it's safer to know that what is on cds-ops/prod can be put on the production nodes without losing any (not-yet-merged) functionality. As @egabancho says, let's discuss IRL.

@ludmilamarian
Copy link

why the help wanted label? is this good to be integrated?

@ludmilamarian
Copy link

The websubmit_icon_creator.py was missing a commit in prod, most likely due to the deployment of the crop feature, so this is just a note not to remove it next time (I'm talking about inveniosoftware@4d569b1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants