-
Notifications
You must be signed in to change notification settings - Fork 0
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
Automate NCCAT reports #6839
Comments
Original Redmine Comment Searched for an editor to add to this page with an option to upload images. Found https://ckeditor.com which comes with CKFinder but it costs $$. Looked at https://alternativeto.net/software/ckfinder/ and decided to go with https://responsivefilemanager.com and tinymce. I have not committed their code to our git repo since it's not clear what their redistribution policy is. Instead, I'm writing install notes below so we can redo it if needed. Install NotesDownload tinymce and filemanager copy them to myamiweb root. Login to emgweb and do:
File manager doesn't come with security option, meaning everyone can upload and view images. To secure it, edit filemanager/config/config.php and add the following code at the beginning:
This way only admin users can upload images. I suggest we make /gpfs/uploads/$user/$session to store images similar to /gpfs/leginon. This will be live on emgweb tomorrow. |
Original Redmine Comment Also deny directory listing with htaccess for thumbs and uploads using https://stackoverflow.com/questions/5932641/deny-directory-listing-with-htaccess |
Original Redmine Comment Added "Download PDF" at the bottom thanks to https://github.com/MrRio/jsPDF |
Original Redmine Comment I really like these:
|
Original Redmine Comment
Please email me a report with a blurb that describes in text the data collection parameters in the version required by a journal. I'll implement it as well. Thank you. |
Original Redmine Comment Thanks Sargis _ I will check these out tomorrow. |
Original Redmine Comment Ok, got it. I'll copy "Experimental Method" section from User Results page. Some of it is in "Experimental setup" table. I'll remove them from there to avoid repetition. |
Original Redmine Comment Hmmm... I think I like both though - they serve different purposes.. Ed, can you weigh on on this please. |
Original Redmine Comment Copied over Experimental Methods section. Left the rest unchanged. This will be available tomorrow after nightly updates. |
Original Redmine Comment Excellent, thank you. |
Original Redmine Comment In terms of the previous query the context is slightly different and the user would glean different information. An issue I have is that there may have several grid Atlases or parameters within a session. Questions:
|
Original Redmine Comment Hmmm.. good point about the atlases. Can we show all atlases from a session? Or should we just show the last one? I am not sure if we shouldn't always start a new session if there is a new atlas? |
Original Redmine Comment Have not fully shifted over to the report. Currently testing the reports with recent sessions have encountered formatting issues.
For an example see: http://emgweb.nysbc.org/betamyamiweb/poster.php?expId=9084 |
Original Redmine Comment Updated @Download PDF@ link to point to the same page with added @&inline=1@ to URL. This will render things inside the editor inline and print the PDF. Added section doesn't show up as grey anymore. This also allowed me to get rid of @save@ button and @Download PDF@ in the PDF. I can look on how to split this into multiple pages, if needed. The uploaded files are stored under /gpfs/uploads and thumbnail images are stored on emgweb under /srv/www/html/betamyamiweb/thumbs. emgweb has around 200GB space available. Wasn't sure if this would be enough moving forward, that's why I created /gpfs/uploads. Files can be managed using http://emgweb.nysbc.org/betamyamiweb/filemanager/dialog.php Can't figure out what's different in preset formatting. It shows blue rectangle with title (Imaging Summary) as in the rest of the report. |
Author Name: Sargis Dallakyan (@dallakyan)
Original Redmine Issue: 6839, https://emg.nysbc.org/redmine/issues/6839
Original Date: 2019-03-14
None
The text was updated successfully, but these errors were encountered: