From: Ummon Date: Thu, 23 Apr 2020 16:43:19 +0000 (+0200) Subject: Merge branch 'master' of gburri.org:euphorik X-Git-Url: https://git.euphorik.ch/?a=commitdiff_plain;h=808fb60f6c10dfcaccee94c6a49f768de84dc2ef;p=euphorik.git Merge branch 'master' of gburri.org:euphorik --- 808fb60f6c10dfcaccee94c6a49f768de84dc2ef diff --cc .gitignore index 5b3f348,5b3f348..7c8641d --- a/.gitignore +++ b/.gitignore @@@ -1,3 -1,3 +1,5 @@@ *.iws *.beam --var/ ++var/ ++/BD ++/data diff --cc js/euphorik.js index cac44c8,3f45e2d..893a32a --- a/js/euphorik.js +++ b/js/euphorik.js @@@ -23,10 -23,10 +23,10 @@@ var euphorik = {} // le main $(document).ready( - function() { + function() { var fragment = new Fragment(); - var formater = new euphorik.Formater(); - var util = new euphorik.Util(formater); + var formatter = new euphorik.Formatter(); + var util = new euphorik.Util(formatter); var communication = new euphorik.Communication( function(data) { util.messageDialog(data.error_message); }, function() { util.showWaitBar(); }, @@@ -60,19 -58,19 +58,19 @@@ }); $("#menu .register").click(function(){ pages.displayPage("register"); }); $("#menu .about").click(function(){ pages.displayPage("about"); }); - + - // TODO: simplification : such link[1] should be created and automatically open the right page without + // TODO : simplification : such link[1] should be created and automatically open the right page without // explicitly add a page. // [1] : Terms of use $("#footer .termsOfUse").click(function(){ pages.displayPage("terms_of_use"); }); - + - pages.addPage(new euphorik.PageMinichat(client, formater, util, communication), true); - pages.addPage(new euphorik.PageAdmin(client, formater, util, communication)); - pages.addPage(new euphorik.PageProfile(client, formater, util)); - pages.addPage(new euphorik.PageRegister(client, formater, util)); - pages.addPage(new euphorik.PageAbout(client, formater, util, communication)); + pages.addPage(new euphorik.PageMinichat(client, formatter, util, communication), true); + pages.addPage(new euphorik.PageAdmin(client, formatter, util, communication)); + pages.addPage(new euphorik.PageProfile(client, formatter, util)); + pages.addPage(new euphorik.PageRegister(client, formatter, util)); + pages.addPage(new euphorik.PageAbout(client, formatter, util, communication)); pages.addPage("terms_of_use"); - + pages.displayPage(); // display the default page } ); diff --cc modules/erl/euphorik_bd_admin.erl index e5c20bc,a57f6fe..84fe459 --- a/modules/erl/euphorik_bd_admin.erl +++ b/modules/erl/euphorik_bd_admin.erl @@@ -16,15 -16,12 +16,12 @@@ % You should have received a copy of the GNU General Public License % along with Euphorik. If not, see . % - % Module mettant à disposition tout un tas de fonction pour l'administration de la base de données euphorik comme : - % - Création de la BD - % - Mise à jour de la BD - % - Backup et restauration - % - Copie de la BD à partir d'un autre noeud - + % Some functions to manage the database like creating, updating, backuping etc. + % + % @author G.Burri -module(euphorik_bd_admin). - +-author("Greg Burri "). -export([ version_bd/0, create/0,