NorthStar Notes

    Which users are currently logged into NorthStar

    grep -e "Succesfull logon" -e "logged out" /var/log/tomcat8/useradministration/useradministration.log

    Deactivate email notification to users

    edit /var/lib/tomcat8/conf/context.xml

    replace:

        <Resource 
            auth="Container" 
            name="mail/Session" 
            type="javax.mail.Session" 
            mail.smtp.host="127.0.0.1" />
    

    with:

        <Resource 
            auth="Container" 
            name="mail/Session" 
            type="javax.mail.Session" 
            mail.smtp.host="127.0.0.1" 
            testserver="localhost" 
            testmail.to="hrottmann@web.de" />
    


    then restart tomcat

    /etc/init.d/tomcat stop
    /etc/init.d/tomcat start
    

    Find user name/email

    mysql -h 127.0.0.1 -u northstar -p --execute 'select useraccount.username,user.firstname, user.lastname, user.email FROM useraccount INNER JOIN user ON user.id= useraccount.userid  WHERE useraccount.username="astroandrey";' useradministration
    

    Users cannot react to proposal invitation


    This is normally caused by a difference of the email address specified by the inviting person and the email address actually used by the invited person.

    Workarround:  table invitations contains the unaccepted invitations. Find the ones for the proposal in questions and make note of the memberIDs.

    These memberIDs will appear in the table nonregisteredmembers. Find the record corresponding to the person having trouble with the invitation. Delete this record from nonregisteredmembers.

    Now goto database useradminstration table user and find the userID of the person having trouble. Make note of the userID.

    Table registeredmembers contains the members that have already accepted the invitation. Insert a new record using the userID and memberID obtained in the steps above.

    Finally go to table invitations and delete the record corresponding to the memberID in question.

    The user should now see the proposal when they log into NorthStar

    Add/change receiver information

     

    edit:

    /var/lib/tomcat5.5/webapps/localhost/proposal/conf/modules/effelsberg/effelsberg-options.xml

    Note:

    The file contains two contexts (regular, Target of Opportunity). All changes need to be done in both context sections.

    Order of proposal categories when starting a new proposal

    The proposal categories are read from the database and are stored internally as a TreeSet. Therefore the order is determined by Java's compareTo operator. Practially that means that categories appear in alphabetical order with capital letters being first. If the default behaviour is to be changed the SetUpSelectTelescpopeAction in the northstar-web-lib needs to be overridden:

    northstar-web-lib/src/eu/radionet/northstar/control/telescope/SetUpSelectTelescopeAction.java

    Move Proposal to different semester

    1) Find id of proposal (e.g. with ProposalAdmin)

     

    2) in mysql obtain semesterId of the proposal   

    SELECT *
    FROM `proposal`
    WHERE `id` =863
    LIMIT 0 , 30
    

    3) in mysql obtain the new semesterId

    SELECT *
    FROM `semester`
    WHERE `semester` LIKE '2015 B'
    LIMIT 0 , 30
    

    4) Lookup free proposal code for the new semester (e.g. in ProposalAdmin)

    5) Change semesterid and code

    UPDATE `northstar`.`proposal` SET `code` = '18-15',
    `semesterid` = '48' WHERE `proposal`.`id` =863;
    

    6) Reopen semester (if already closed)

    UPDATE `northstar`.`semester` SET `deadlinedatetime` = '2015-02-06 15:00:00',
    `closed` = '0' WHERE `semester`.`id` =48;
    

    7) Change proposal state 

    In the NorthStar "proposal administrative" area change the proposal state from "submitted" to "under review". This will also automatically recreate the PDF.

    8) Close the semester

    The semester that has been reopened in step 6) needs to be closed again. This can be done within the NorthStar "proposal administrative" area.

     

    Tag page (Edit tags)
    • No tags
    Page statistics
    2127 view(s), 16 edit(s) and 10164 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments