Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/e1472657f7ebb081e3839b476e82dfdc20af1b6d?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
12 additions and
6 deletions
release.linux.sh
resources/linux/run.sh
src/board/UBBoardController.cpp
@ -1,3 +1,4 @@
#!/bin/bash
# --------------------------------------------------------------------
# --------------------------------------------------------------------
# This program is free software: you can redistribute it and/or modify
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
@ -13,7 +14,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
#!/bin/sh
make clean
make clean
rm -rf build/linux/release/
rm -rf build/linux/release/
@ -90,10 +90,10 @@ cp "$QT_LIBRARY_SOURCE_PATH/phonon.so.4.4.0" "$QT_LIBRARY_DEST_PATH/"
rm -rf install/linux
rm -rf install/linux
mkdir -p install/linux
mkdir -p install/linux
mv build/linux/release/product build/linux/release/Sankore_3.1 .$VERSION
mv build/linux/release/product build/linux/release/Open- Sankore.$VERSION
cd build/linux/release
cd build/linux/release
# "Removing .svn directories ..."
# "Removing .svn directories ..."
find . -name .svn -exec rm -rf { } \; 2> /dev/null
find . -name .svn -exec rm -rf { } \; 2> /dev/null
tar cvzf ../../../install/linux/Sankore\ 3.1 .tar.gz Sankore_3.1 .$VERSION -C .
tar cvzf ../../../install/linux/Open- Sankore.tar.gz Open- Sankore.$VERSION -C .
notify-send "Sankore" "Build Finished"
notify-send "Open- Sankore" "Build Finished"
@ -1,3 +1,4 @@
#!/bin/bash
# --------------------------------------------------------------------
# --------------------------------------------------------------------
# This program is free software: you can redistribute it and/or modify
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
@ -13,5 +14,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
#!/bin/sh
env LD_LIBRARY_PATH = $PWD /qtlib:$LD_LIBRARY_PATH ./Open-Sankore
env LD_LIBRARY_PATH = $PWD /qtlib:$LD_LIBRARY_PATH ./Open-Sankoré
@ -1673,8 +1673,14 @@ UBGraphicsVideoItem* UBBoardController::addVideo(const QUrl& pSourceUrl, bool st
{
{
QUuid uuid = QUuid : : createUuid ( ) ;
QUuid uuid = QUuid : : createUuid ( ) ;
QUrl concreteUrl = pSourceUrl ;
QUrl concreteUrl = pSourceUrl ;
# ifdef Q_WS_X11
concreteUrl = QUrl : : fromLocalFile ( mActiveDocument - > persistencePath ( ) + " / " + UBPersistenceManager : : persistenceManager ( )
- > addVideoFileToDocument ( mActiveDocument , pSourceUrl . toLocalFile ( ) , uuid ) ) ;
# else
concreteUrl = QUrl : : fromLocalFile ( UBPersistenceManager : : persistenceManager ( )
concreteUrl = QUrl : : fromLocalFile ( UBPersistenceManager : : persistenceManager ( )
- > addVideoFileToDocument ( mActiveDocument , pSourceUrl . toLocalFile ( ) , uuid ) ) ;
- > addVideoFileToDocument ( mActiveDocument , pSourceUrl . toLocalFile ( ) , uuid ) ) ;
# endif
UBGraphicsVideoItem * vi = mActiveScene - > addVideo ( concreteUrl , startPlay , pos ) ;
UBGraphicsVideoItem * vi = mActiveScene - > addVideo ( concreteUrl , startPlay , pos ) ;
mActiveDocument - > setMetaData ( UBSettings : : documentUpdatedAt , UBStringUtils : : toUtcIsoDateTime ( QDateTime : : currentDateTime ( ) ) ) ;
mActiveDocument - > setMetaData ( UBSettings : : documentUpdatedAt , UBStringUtils : : toUtcIsoDateTime ( QDateTime : : currentDateTime ( ) ) ) ;