Commit Graph

5 Commits (92120692e7e82b05e8c1b2f7d85bf050d067d751)

Author SHA1 Message Date
Paul Schneider 77eed811f5 Nouvelles fonctionalités:
- Gestion des déploiement de configurations
- Ajout et suppression d'utilisateurs au groupes (autres que celui des admins)
- Page à customiser en cas d'accès à une ressource d'accès restreint, qui par défaut
  n'indique que le nom de controleur et celui de la methode concérnée, et qui ajoute,
  seulement dans le cas ou l'utilisateur est administrateur, les noms de groupes ou d'utilisateur
  autorisés, avec la mentions "admins only" invitant à la discretion.

* Microsoft.Web.XmlTransform.dll: Copié de l'import Nuget de
  Mono.Web.Xdt (transformations de fichiers de configuration)

* yavsc.admin.js: Implémente les méthodes Javascript de l'interface
  utilisateur de suppression et d'ajout d'un utilisateur à un groupe:
un widget jQuery pour la suppression, l'accès à l'API

* RestrictedArea.aspx: Page vue par l'utilisateur si par malheur il
  suivait un lien vers un contenu d'accès restreint, à la place d'un
  code Http 404 ou autre.
Si cet utilisateur est administrateur, la page lui affiche les rôles
  ou utilisateurs autorisés à accèder au contenu.

* RestrictedArea.aspx:
* RestrictedArea.aspx:
* RestrictedArea.aspx:
* RestrictedArea.aspx:
* RestrictedArea.aspx:
* RestrictedArea.aspx:
* RestrictedArea.aspx: Page vue par l'utilisateur si par malheur il
  suivait un lien vers un contenu d'accès restreint, à la place d'un
  code Http 404 ou autre.
  Si cet utilisateur est administrateur, la page lui affiche les rôles
  ou utilisateurs autorisés à accèder au contenu.

* Makefile: retour au débuggage de la copie de travaille, et pas de la
  déployée. La copie de travail sera avec les mots de passe, et donc toujours différente de celle sous git,
  mais c'est pas grave.

* AccountController.cs: Evite de mettre à jour un mot de passe avec
  des valeures non attendues

* style.css: corrige un mouvement de la disposition au survol de la
  souris

* AuthorizeAttribute.cs: enlève la redirection à l'accès restreint, et
  fixe pas la même la transmission des données `Roles` et `Users` de
  la vue

* AdminController.cs: Evite de supprimer un utilisateur d'un groupe
  avec des valeures non attendues

* HomeController.cs: Il n'y avait pas à créer de methode pour la vue
  publique de l'accès restreint.

* YavscAjaxHelper.cs: évite d'avoir à convertir en chaine les valeurs
  de la vue.

* App.master: Cette page maître affiche encore beaucoup de billets de
  blog, on y installe le coteur, de base. Ça changera quand les blogs
  auront (enfin) leur page maître dédiée.

* AppAdmin.master: synchronisation avec la page maître principale
  (thémes)

* NoLogin.master: synchronisation avec la page maître
  principale.(thémes)

* yavsc.rate.js: supprime l'initialisation de tous les type de cotes
  depuis le script global.
C'est fait sur les pages qui en ont besoin, et seulement pour les
  types de cotes concernés.

* AddUserToRole.ascx: Ce formulaire est maintenant à la fois
  opérationel depuis une interface web sans javascript, et à la Ajax
  quand Javascript activé.

* UsersInRole.aspx: implémente l'interface utilisateur pour
l'ajout et la suppression d'un utilisateur à un groupe

* Skills.aspx: initialise le coteur js des compétences site

* UserSkills.aspx: initialise le coteur js de compétences utilisateur

* Web.csproj: un script et des pages d'erreur d'accès, il en faut une
  par controlleur s'il veut restreindre ses accès sans rendre de code Http 403 ou 404.

* UserNameBase.cs: Permet l'usage des espaces dans les noms
  d'utilisateurs, à la création legacy, ou autres usage du nom d'utilisateur.
9 years ago
Paul Schneider 9a2652739b Merge from booking branch 9 years ago
Paul Schneider 0b8b717f3e Adds UI to enrole members 9 years ago
Paul Schneider d9d5bb308e Many fixes
* Profile.aspx:
* ProfileEdition.cs: Fixes the username modification

* Book-next.aspx: pollution

* NpgsqlMembershipProvider.cs: xmldoc

* NpgsqlProfileProvider.cs: use default values from configuration

* NpgsqlUserNameProvider.cs: Fixes the username detection

* test-domain-TestAPI.config: profile dates must be returned as
  DateTime

* instdbws.sql: The conversion to a valid .Net DateTime requires a
  credible date time as source value, the null one is not supported.

* style.css: Fixes the new notification style

* AccountController.cs: Fixes the profile edition.
Now using the anti forgery key at login time

* Book.aspx:
* LocalizedText.resx:
* LocalizedText.fr.resx:
* CalendarApi.cs:
* GoogleController.cs:
* LocalizedText.Designer.cs:
* LocalizedText.fr.Designer.cs: WIP booking

* HomeController.cs: code prettying

* Global.asax.cs: Limits the usage of titles in a route to the blog
  controller

* OAuth2.cs: Profile values may be of type DBNull ...

* T.cs: All translated strings will be Html encoded, as expected from
  an html helper

* YavscHelpers.cs: A new method to build a javascript string...

* App.master:
* AppAdmin.master: Notification.body is now a js string literal

* NoLogin.master: sync with the true master

* Login.aspx: Permits the anti forgery key usage

* Estimate.aspx: refactoring

* Web.config: Fixes a later commit on the catalog name space

* Web.csproj: An ajax helper to notify

* ChangePasswordModel.cs:
* RegisterClientModel.cs: A regexp for user name

* LoginModel.cs: A regexp for user name and password

* Profile.cs: A regexp for user name, and profile usage fixes

* UserManager.cs: Checks for username availability before trying to
  modify it

* YavscModel.csproj: `ProfileEdition` class addition

* ChangeLog: should not be indexed

* ChangeLog: useless here

* ValidateAjaxAttribute.cs: Fixes usage of HtmlFieldPrefix

* BookQuery.cs: Start, end hour and role are required

* OtherWebException.cs: useless
9 years ago
Paul Schneider 665b536aa7 Fixes bill editon
* AppAdmin.master: A new master page for Administration

* Web.config:
* Web.csproj:
* Book.aspx:
* Auth.aspx:
* Auth.aspx:
* Book.aspx:
* Auth.aspx:
* TagPanel.ascx:
* YavscModel.csproj:
* Restore.aspx:
* Book.aspx:
* Restored.aspx:
* date.js:
* RoleList.aspx:
* UserList.aspx:
* LocalizedText.resx:
* number.js:
* FreeDate.cs:
* plural.js:
* message.js:
* BookQuery.cs:
* LocalizedText.fr.resx:
* ChooseADate.aspx:
* currency.js:
* ChooseADate.aspx:
* ErrorMessage.aspx:
* globalize.js:
* ChooseADate.aspx:
* ChooseCalendar.aspx:
* LocalizedText.Designer.cs:
* ChooseCalendar.aspx:
* ErrorMessage.aspx:
* relative-time.js:
* ChooseCalendar.aspx:
* LocalizedText.fr.Designer.cs:
* OtherWebException.aspx:
* globalize.cultures.js:
* globalize.culture.he.js:
* globalize.culture.ru.js:
* globalize.culture.ha.js:
* globalize.culture.rw.js:
* globalize.culture.gu.js:
* globalize.culture.sa.js:
* globalize.culture.gl.js:
* globalize.culture.hi.js:
* globalize.culture.pt.js:
* globalize.culture.id.js:
* globalize.culture.hy.js:
* globalize.culture.hu.js:
* globalize.culture.rm.js:
* globalize.culture.hr.js:
* globalize.culture.ro.js:
* globalize.culture.gd.js:
* globalize.culture.fi.js:
* globalize.culture.fa.js:
* globalize.culture.eu.js:
* globalize.culture.et.js:
* globalize.culture.es.js:
* globalize.culture.sq.js:
* globalize.culture.sr.js:
* globalize.culture.sl.js:
* globalize.culture.ga.js:
* globalize.culture.fy.js:
* globalize.culture.fr.js:
* globalize.culture.se.js:
* globalize.culture.si.js:
* globalize.culture.sk.js:
* globalize.culture.fo.js:
* globalize.culture.ig.js:
* globalize.culture.ml.js:
* globalize.culture.mt.js:
* globalize.culture.nl.js:
* globalize.culture.ms.js:
* globalize.culture.ky.js:
* globalize.culture.mn.js:
* globalize.culture.nn.js:
* globalize.culture.mk.js:
* globalize.culture.ne.js:
* globalize.culture.lt.js:
* globalize.culture.lv.js:
* globalize.culture.lo.js:
* globalize.culture.mi.js:
* globalize.culture.lb.js:
* globalize.culture.nb.js:
* globalize.culture.ko.js:
* globalize.culture.iu.js:
* globalize.culture.pa.js:
* globalize.culture.pl.js:
* globalize.culture.it.js:
* globalize.culture.ps.js:
* globalize.culture.is.js:
* globalize.culture.ii.js:
* globalize.culture.ja.js:
* globalize.culture.no.js:
* globalize.culture.kn.js:
* globalize.culture.km.js:
* globalize.culture.kl.js:
* globalize.culture.oc.js:
* globalize.culture.kk.js:
* globalize.culture.ka.js:
* globalize.culture.or.js:
* globalize.culture.sv.js:
* globalize.culture.xh.js:
* globalize.culture.dv.js:
* globalize.culture.yo.js:
* globalize.culture.de.js:
* globalize.culture.da.js:
* globalize.culture.zh.js:
* globalize.culture.cy.js:
* globalize.culture.el.js:
* globalize.culture.tt.js:
* globalize.culture.ug.js:
* globalize.culture.uk.js:
* globalize.culture.ur.js:
* globalize.culture.uz.js:
* globalize.culture.vi.js:
* globalize.culture.wo.js:
* globalize.culture.cs.js:
* globalize.culture.be.js:
* globalize.culture.ba.js:
* globalize.culture.az.js:
* globalize.culture.as.js:
* globalize.culture.ar.js:
* globalize.culture.am.js:
* globalize.culture.af.js:
* globalize.culture.bg.js:
* globalize.culture.zu.js:
* globalize.culture.co.js:
* globalize.culture.ca.js:
* globalize.culture.bs.js:
* globalize.culture.br.js:
* globalize.culture.bo.js:
* globalize.culture.bn.js:
* globalize.culture.mr.js:
* globalize.culture.tn.js:
* globalize.culture.sw.js:
* globalize.culture.tg.js:
* globalize.culture.ta.js:
* globalize.culture.tr.js:
* globalize.culture.te.js:
* globalize.culture.th.js:
* globalize.culture.tk.js:
* globalize.culture.dsb.js:
* globalize.culture.prs.js:
* globalize.culture.quz.js:
* globalize.culture.kok.js:
* globalize.culture.smn.js:
* globalize.culture.qut.js:
* globalize.culture.sms.js:
* globalize.culture.sma.js:
* globalize.culture.sah.js:
* globalize.culture.gsw.js:
* globalize.culture.moh.js:
* globalize.culture.tzm.js:
* globalize.culture.nso.js:
* globalize.culture.arn.js:
* globalize.culture.hsb.js:
* globalize.culture.syr.js:
* globalize.culture.fil.js:
* globalize.culture.smj.js:
* globalize.culture.oc-FR.js:
* globalize.culture.th-TH.js:
* globalize.culture.zu-ZA.js:
* globalize.culture.nn-NO.js:
* globalize.culture.sw-KE.js:
* globalize.culture.mt-MT.js:
* globalize.culture.sv-FI.js:
* globalize.culture.ms-MY.js:
* globalize.culture.sv-SE.js:
* globalize.culture.ms-BN.js:
* globalize.culture.nb-NO.js:
* globalize.culture.te-IN.js:
* globalize.culture.nl-NL.js:
* globalize.culture.nl-BE.js:
* globalize.culture.ta-IN.js:
* globalize.culture.ne-NP.js:
* globalize.culture.sq-AL.js:
* globalize.culture.sl-SI.js:
* globalize.culture.ro-RO.js:
* globalize.culture.se-NO.js:
* globalize.culture.vi-VN.js:
* globalize.culture.rm-CH.js:
* globalize.culture.wo-SN.js:
* globalize.culture.se-SE.js:
* globalize.culture.xh-ZA.js:
* globalize.culture.tr-TR.js:
* globalize.culture.sa-IN.js:
* globalize.culture.ug-CN.js:
* globalize.culture.rw-RW.js:
* globalize.culture.uk-UA.js:
* globalize.culture.se-FI.js:
* globalize.culture.ru-RU.js:
* globalize.culture.ur-PK.js:
* globalize.culture.tn-ZA.js:
* globalize.culture.zh-CN.js:
* globalize.culture.pa-IN.js:
* globalize.culture.tt-RU.js:
* globalize.culture.zh-MO.js:
* globalize.culture.zh-SG.js:
* globalize.culture.or-IN.js:
* globalize.culture.zh-TW.js:
* globalize.culture.sk-SK.js:
* globalize.culture.pt-PT.js:
* globalize.culture.pt-BR.js:
* globalize.culture.si-LK.js:
* globalize.culture.yo-NG.js:
* globalize.culture.ps-AF.js:
* globalize.culture.tk-TM.js:
* globalize.culture.pl-PL.js:
* globalize.culture.zh-HK.js:
* globalize.culture.en-NZ.js:
* globalize.culture.en-PH.js:
* globalize.culture.en-SG.js:
* globalize.culture.en-TT.js:
* globalize.culture.en-US.js:
* globalize.culture.en-ZA.js:
* globalize.culture.en-ZW.js:
* globalize.culture.es-AR.js:
* globalize.culture.en-MY.js:
* globalize.culture.el-GR.js:
* globalize.culture.en-AU.js:
* globalize.culture.en-BZ.js:
* globalize.culture.en-CA.js:
* globalize.culture.en-GB.js:
* globalize.culture.en-IE.js:
* globalize.culture.en-IN.js:
* globalize.culture.en-JM.js:
* globalize.culture.es-BO.js:
* globalize.culture.es-NI.js:
* globalize.culture.es-PA.js:
* globalize.culture.es-PE.js:
* globalize.culture.es-PR.js:
* globalize.culture.es-PY.js:
* globalize.culture.es-SV.js:
* globalize.culture.es-US.js:
* globalize.culture.es-UY.js:
* globalize.culture.es-MX.js:
* globalize.culture.es-CL.js:
* globalize.culture.es-CO.js:
* globalize.culture.es-CR.js:
* globalize.culture.es-DO.js:
* globalize.culture.es-EC.js:
* globalize.culture.es-ES.js:
* globalize.culture.es-GT.js:
* globalize.culture.es-HN.js:
* globalize.culture.dv-MV.js:
* globalize.culture.ar-LY.js:
* globalize.culture.ar-MA.js:
* globalize.culture.ar-OM.js:
* globalize.culture.ar-QA.js:
* globalize.culture.ar-SA.js:
* globalize.culture.ar-SY.js:
* globalize.culture.ar-TN.js:
* globalize.culture.ar-YE.js:
* globalize.culture.ar-LB.js:
* globalize.culture.am-ET.js:
* globalize.culture.ar-AE.js:
* globalize.culture.ar-BH.js:
* globalize.culture.ar-DZ.js:
* globalize.culture.ar-EG.js:
* globalize.culture.ar-IQ.js:
* globalize.culture.ar-JO.js:
* globalize.culture.ar-KW.js:
* globalize.culture.as-IN.js:
* globalize.culture.cs-CZ.js:
* globalize.culture.cy-GB.js:
* globalize.culture.da-DK.js:
* globalize.culture.de-AT.js:
* globalize.culture.de-CH.js:
* globalize.culture.de-DE.js:
* globalize.culture.de-LI.js:
* globalize.culture.de-LU.js:
* globalize.culture.co-FR.js:
* globalize.culture.ba-RU.js:
* globalize.culture.be-BY.js:
* globalize.culture.bg-BG.js:
* globalize.culture.bn-BD.js:
* globalize.culture.bn-IN.js:
* globalize.culture.bo-CN.js:
* globalize.culture.br-FR.js:
* globalize.culture.ca-ES.js:
* globalize.culture.es-VE.js:
* globalize.culture.hy-AM.js:
* globalize.culture.id-ID.js:
* globalize.culture.ig-NG.js:
* globalize.culture.ii-CN.js:
* globalize.culture.is-IS.js:
* globalize.culture.it-CH.js:
* globalize.culture.it-IT.js:
* globalize.culture.hu-HU.js:
* globalize.culture.gd-GB.js:
* globalize.culture.gl-ES.js:
* globalize.culture.gu-IN.js:
* globalize.culture.he-IL.js:
* globalize.culture.hi-IN.js:
* globalize.culture.hr-BA.js:
* globalize.culture.hr-HR.js:
* globalize.culture.ja-JP.js:
* globalize.culture.lt-LT.js:
* globalize.culture.af-ZA.js:
* globalize.culture.mi-NZ.js:
* globalize.culture.mk-MK.js:
* globalize.culture.ml-IN.js:
* globalize.culture.mn-MN.js:
* globalize.culture.mr-IN.js:
* globalize.culture.lo-LA.js:
* globalize.culture.ka-GE.js:
* globalize.culture.kk-KZ.js:
* globalize.culture.kl-GL.js:
* globalize.culture.km-KH.js:
* globalize.culture.kn-IN.js:
* globalize.culture.ko-KR.js:
* globalize.culture.ky-KG.js:
* globalize.culture.lb-LU.js:
* globalize.culture.ga-IE.js:
* globalize.culture.fr-CH.js:
* globalize.culture.fr-CA.js:
* globalize.culture.fr-BE.js:
* globalize.culture.fo-FO.js:
* globalize.culture.lv-LV.js:
* globalize.culture.fi-FI.js:
* globalize.culture.fa-IR.js:
* globalize.culture.eu-ES.js:
* globalize.culture.et-EE.js:
* globalize.culture.fr-FR.js:
* globalize.culture.fy-NL.js:
* globalize.culture.fr-LU.js:
* globalize.culture.fr-MC.js:
* globalize.culture.sma-SE.js:
* globalize.culture.sma-NO.js:
* globalize.culture.arn-CL.js:
* globalize.culture.qut-GT.js:
* globalize.culture.gsw-FR.js:
* globalize.culture.fil-PH.js:
* globalize.culture.smj-SE.js:
* globalize.culture.smn-FI.js:
* globalize.culture.sah-RU.js:
* globalize.culture.sms-FI.js:
* globalize.culture.prs-AF.js:
* globalize.culture.syr-SY.js:
* globalize.culture.smj-NO.js:
* globalize.culture.zh-CHT.js:
* globalize.culture.kok-IN.js:
* globalize.culture.hsb-DE.js:
* globalize.culture.moh-CA.js:
* globalize.culture.nso-ZA.js:
* globalize.culture.quz-PE.js:
* globalize.culture.zh-CHS.js:
* globalize.culture.dsb-DE.js:
* globalize.culture.quz-BO.js:
* globalize.culture.quz-EC.js:
* globalize.culture.en-029.js:
* globalize.culture.mn-Mong.js:
* globalize.culture.mn-Cyrl.js:
* globalize.culture.sr-Cyrl.js:
* globalize.culture.az-Latn.js:
* globalize.culture.az-Cyrl.js:
* globalize.culture.sr-Latn.js:
* globalize.culture.iu-Latn.js:
* globalize.culture.zh-Hant.js:
* globalize.culture.zh-Hans.js:
* globalize.culture.tg-Cyrl.js:
* globalize.culture.uz-Latn.js:
* globalize.culture.uz-Cyrl.js:
* globalize.culture.ha-Latn.js:
* globalize.culture.iu-Cans.js:
* globalize.culture.bs-Cyrl.js:
* globalize.culture.bs-Latn.js:
* globalize.culture.tzm-Latn.js:
* globalize.culture.sr-Cyrl-ME.js:
* globalize.culture.sr-Cyrl-CS.js:
* globalize.culture.bs-Cyrl-BA.js:
* globalize.culture.sr-Cyrl-RS.js:
* globalize.culture.sr-Cyrl-BA.js:
* globalize.culture.mn-Mong-CN.js:
* globalize.culture.uz-Cyrl-UZ.js:
* globalize.culture.ha-Latn-NG.js:
* globalize.culture.iu-Latn-CA.js:
* globalize.culture.uz-Latn-UZ.js:
* globalize.culture.az-Latn-AZ.js:
* globalize.culture.az-Cyrl-AZ.js:
* globalize.culture.bs-Latn-BA.js:
* globalize.culture.tg-Cyrl-TJ.js:
* globalize.culture.iu-Cans-CA.js:
* globalize.culture.sr-Latn-RS.js:
* globalize.culture.sr-Latn-ME.js:
* globalize.culture.sr-Latn-CS.js:
* globalize.culture.sr-Latn-BA.js:
* globalize.culture.tzm-Latn-DZ.js:

* style.css: list in the nav are in line by default.

* AdminController.cs: refactoring

* App.master: Restores hallo editing by solving again jQuery-ui ref

* Login.aspx: Prettier code at building Urls

* Admin.aspx:
* Index.aspx:
* AddRole.aspx:
* Backups.aspx:
* RemoveUser.aspx:
* RemoveRole..aspx:
* CreateBackup.aspx:
* BackupCreated.aspx: new master page
9 years ago