Commit Graph

30 Commits (77eed811f5e617c2639b0ce8a13db179e583a433)

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.
10 years ago
Paul Schneider a62cff223c Fixes
* style.css:
* style.css:
* UsersInRole.aspx: refactoring

* HomeController.cs: Fixes the restricted area error page

* PostActions.ascx: html structure

* TagControl.ascx: Tags reside in a list here, treat it as an Html one

* RestrictedArea.aspx: Shows allowed users or/and roles in the error
  page

* Web.csproj: cleaning
10 years ago
Paul Schneider 9a2652739b Merge from booking branch 10 years ago
Paul Schneider cbb596ca04 Fixes the anonymous profile usage
* NpgsqlMembershipProvider.cs: insert a profile record before
  inserting the users record,
to ensure a new foreign key constraint

* NpgsqlProfileProvider.cs: better comments

* YavscController.cs: Fixes the cookies agreement

* HomeController.cs: Finalizes the cookie agreement system.

* YavscHelpers.cs: Adds a "click_action_name" field, to give a text to
  the notification dimissing button.

* App.master: Uses the new field from Notification

* Web.config: No VB code to compile

* Web.csproj: moves Sql files to Sql folder

* LocalizedText.resx:
* LocalizedText.fr.resx:
* LocalizedText.Designer.cs:
* LocalizedText.fr.Designer.cs: I understood ...

* Notification.cs: a new click action name.

* instdbws.sql: permits profile records with no users record
  associated to,
and so, anonymous profiles creation.
10 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
10 years ago
Paul Schneider b8446c2d3e Improves notification system
* ICalendarManager.cs: WIP booking TODO a calendar provider

* NpgsqlProfileProvider.cs: Fixes the defaultValue specification from
  config file

* BlogsController.cs:
* AccountController.cs:
* CalendarController.cs: refactoring : the Yavsc controller name

* instdbws.sql: a new profile value : a boolean, `AllowCookies` :'{

* style.css: a class to display notification

* HomeController.cs: Notifies users this site uses cookies (what for
  an information!)
If authenticated, at dimissing this notification, the user's profile
  is updated,
and he'll not mess up anymore with the info.

* App.master:
* YavscHelpers.cs: adds usage of click_action value at
displaying a notification.

* yavsc.js: Implements the notification `click_action`

* Web.config: * enables anonymous profiles
* adds a new `allowcookies` profile property

* Web.csproj: Yavsc controller refactoring

* YaEvent.cs:
* IFreeDateSet.cs: WIP booking

* LocalizedText.resx:
* LocalizedText.fr.resx:
* LocalizedText.Designer.cs:
* LocalizedText.fr.Designer.cs: implements the message "uses cookies"

* YavscModel.csproj: refactoring

* Notification.cs: The Yavsc otification will start as a Google one
  ...
many properties are not yet used, but all seems usefull.

* Web.config: code prettying

* YavscController.cs: Gives Yavsc a concrete base controller
10 years ago
Paul Schneider c466aed242 Merge from totem 10 years ago
Paul Schneider 5cb90afe2c * Web.csproj:
* packages.config:
* App.master:
* doxy.css:
* Edit.aspx:
* desert.css:
* sunburst.css:
* prettify.css:
* YavscHelpers.cs:
* YavscModel.csproj:
* lang-r.js:
* UserPosts.aspx:
* lang-n.js:
* lang-rd.js:
* lang-vb.js:
* lang-xq.js:
* lang-ml.js:
* lang-go.js:
* lang-hs.js:
* lang-tcl.js:
* lang-tex.js:
* PostActions.ascx:
* lang-clj.js:
* prettify.js:
* lang-css.js:
* lang-sql.js:
* lang-lua.js:
* lang-llvm.js:
* HomeController.cs:
* lang-yaml.js:
* lang-wiki.js:
* lang-dart.js:
* lang-lisp.js:
* lang-vhdl.js:
* lang-mumps.js:
* lang-scala.js:
* lang-basic.js:
* MarkdownHelper.cs:
* lang-proto.js:
* sons-of-obsidian.css:
* lang-apollo.js:
* lang-matlab.js:
* lang-erlang.js:
* lang-pascal.js:
* run_prettify.js: syntax hilighting in Markdown code blocks

* NpgsqlTagInfo.cs: Fixes the photo retreival

* TagPanel.ascx: displays the photo

* IValueProvider.cs: useless, unused

* TestExec.cs: pollution
10 years ago
Paul Schneider 352a950755 a tag panel 10 years ago
Paul Schneider 1805cb3e17 big refactoring, and more
New routes, new juice flow, the tags on posts
10 years ago
Paul Schneider c962998aaa totem custo: new routes 10 years ago
Paul Schneider c79921ea58 A credit page.
* Contact.aspx: a form background color

* Index.aspx: A link to the credits page

* HomeController.cs: A Credits page

* Credits.aspx: A page title and H1 links

* AssemblyInfo.aspx: A relevant title
10 years ago
Paul Schneider 9494d6f353 Hallo now edits my images,
and each post can display a dedicated photo.

* NpgsqlBlogProvider.cs: implements a blog post photo storage

* BlogsController.cs: implements a method to update the photo url

* style.css: yastyle

* AdminController.cs: refactoring the notification:
Introduces a static `Notice` method, server side, to populate an array
in `ViewData`, used in the paster page.

* BlogsController.cs: Controls the photo update

* YavscHelpers.cs:
* yavsc.circles.js:
* HomeController.cs:
* GoogleController.cs: notification refactoring

* App.master: - notification refactoring
- html structure in the `nav`

* hallo.js: event 'hallomodified' now also occurs at image
  modifications

* to-markdown.js: ?Fixes? html images alt text and title to Markdown

* yavsc.js: implements the photo in database

* Edit.aspx: A nicer bill edition, with a photo

* UserPost.aspx: Displays the photo

* UserPosts.aspx: Fixes the new usage of `ResultPages`

* Web.config: totem custo

* instdbws.sql: adds a `photo` field in the `blog` table

* BlogEntry.cs: defines the photo in the model

* BlogManager.cs: a new method to set the photo on a blog post.

* BlogProvider.cs: the blog provider now also gives some photo

* LocalizedText.fr.Designer.cs: Reordering the french localisation
  resource

* LocalizedText.fr.resx: Reorders the french localisation resource
10 years ago
Paul Schneider 0ac2fb5adf * ITContentProvider/ITCPNpgsqlProvider.cs:
* ITContentProvider/ITContentProvider.csproj:
* ITContentProvider/Model/NewProjectModel.cs:
* ITContentProvider/ProjectInfo.cs:
* web/Web.csproj:
* web/Web.config:
* yavscModel/WorkFlow/WorkFlowManager.cs: Namespace ITContentProvider
has been removed, implementation has moved to Yavsc namespace

* yavscModel/WorkFlow/WorkFlowManager.cs: Xml doc
11 years ago
Paul Schneider 8e2c21a3db Fixes the Profiles administration
* Web.config:
* web.config:
* Web.csproj:
* Global.asax.cs:
* ValidateAjaxAttribute.cs:
* Profile.aspx:
* HomeController.cs:
* BlogsController.cs:
* WebCatalogExtensions.cs:
* GoogleController.cs:
* AccountController.cs:
* Profile.cs:
* EstimToPdfFormatter.MSAN.cs: 

* Makefile: Removes obsolete target "rsync-all"
Adds the new target "allrsync"


* FrontOfficeApiController.cs: Makes the code smaller and a better
  output in case of exception generating the Pdf or Tex outputs

* WorkFlowController.cs: makes code cleaner

* App.master: Gives the Profile method call an id parameter

* Estimate.aspx: Fixes the estimation id parameter name at querying
  the Pdf or Tex documents

* Estim.cs: see Estim.tt

* Estim.tt: Mo more exception at transforming null values from the
  contact section of the client profile
11 years ago
Paul Schneider 0755dd62b3 * New features:
- New Client at estimation, ala ajax 
- Admins can now edit user's profiles
11 years ago
Paul Schneider c943606b43 * HomeController.cs: Cleans a duplicate import
* SimpleJsonPostMethod.cs: The credential header had to be "Set"ed,
  not "Add"ed
11 years ago
Paul Schneider d31383d83b * YavscHelpers.cs:
* YavscModel.csproj:
* HomeController.cs:
* AccountController.cs:
* RegisterModel.cs:
* FrontOfficeApiController.cs:
* RegisterViewModel.cs: refactoring

* Web.csproj: deploy robots.txt
11 years ago
Paul Schneider 721b11eba3 Google date quey,
refactiring,
docpage

* Yavsc.sln:
* Web.csproj:
* YavscModel.csproj:
* OtherWebException.cs:
* ProjectInfo.cs:
* IValueProvider.cs:
* CalendarApi.cs:
* HomeController.cs:
* TemplateException.cs:
* WorkFlowController.cs:
* NpgsqlWorkflow.csproj:
* GoogleErrorMessage.cs:
* ITCPNpgsqlProvider.cs:
* NpgsqlContentProvider.cs:
* ITContentProvider.csproj:
* FrontOfficeApiController.cs:
* NpgsqlContentProvider.csproj: refactoring

* App.master:
* WebApiConfig.cs: New Web api configuration architecture

* SalesCatalog.csproj:
* XmlCatalogProvider.cs: using MVC to get the catalog xml filename 

* WorkFlowManager.cs:
* FrontOfficeController.cs:
* CatalogManager.cs: No more extra argument to get the catalog

* DateQuery.aspx:
* AskForADate.cs:
* GoogleController.cs: Google Date new query model

* style.css:
* BBCodeHelper.cs: Doc page responsive design

* Service.cs:
* SetPrice.cs: xml doc

* WebApiConfig.cs: refactioring
11 years ago
Paul Schneider 7558e11bd6 * HomeController.cs: Gets infos about all used assemblies
* AssemblyInfo.aspx: Makes a little clearer what's displayed in there
11 years ago
Paul Schneider 1b7b3595e2 * Makefile: creates two targets "xmldoc" and
"htmldoc" to generate
  the documentation

* Web.csproj:
* YavscModel.csproj:
* WebControls.csproj:
* YavscClient.csproj:
* SalesCatalog.csproj:
* NpgsqlWorkflow.csproj:
* NpgsqlMRPProviders.csproj:
* NpgsqlBlogProvider.csproj:
  ITContentProvider/ITContentProvider.csproj


* AssemblyInfo.cs: makes "en" the assembly culture, and normalize my
  name

* HomeController.cs: modifies the xmldoc

* Web.config: Modifies the owner email

* ITContentProvider.csproj: Activates the documentation generation

* App.master: adds a <meta charset=> in the head section
11 years ago
Paul Schneider ae38718dd9 * Makefile: builds the doc & htmldoc folders
* DataManager.cs: Doc generations

* T.cs:
* Global.asax.cs:
* Export.cs:
* Estim.tt:
* Estim.cs:
* TaskOutput.cs:
* FileInfoCollection.cs:
* RegisterPage.cs:
* BBCodeHelper.cs:
* MvcActionValueBinder.cs:
* YavscHelpers.cs:
* ValidateAjaxAttribute.cs:
* Entity.cs:
* IOrderInfo.cs:
* HomeController.cs:
* SimpleFormatter.cs:
* BlogsController.cs:
* AdminController.cs:
* SimpleJsonPostMethod.cs:
* WebCatalogExtensions.cs:
* GoogleController.cs:
* ModuleController.cs:
* BasketController.cs:
* AccountController.cs:
* TemplateException.cs:
* BlogsApiController.cs:
* EstimToPdfFormatter.cs:
* WorkFlowController.cs:
* FileSystemController.cs:
* BackOfficeController.cs:
* FrontOfficeController.cs:
* ThanksConfigurationSection.cs:
* ThanksConfigurationElement.cs:
* FrontOfficeApiController.cs:
* ModuleConfigurationElementCollection.cs: 

* Web.csproj: cleaning an obsolete IOrderIfno
11 years ago
Paul Schneider 7694f4d8b3 * LocalizedText.resx:
* LocalizedText.fr.resx:
* RssFeedsFormatter.cs:
* LocalizedText.Designer.cs: 

* Web.csproj:
* Contact.aspx:
* AOEMail.aspx:
* AssemblyInfo.aspx:
* ReferencedAssemblies.aspx: refactoring

* RssFeeds.cs: Rss feeds in progress

* HomeController.cs: - refactoring
- fixes contact page


* style.css: css for textarea and input

* Index.aspx: Contact & Assembly info in index

* YavscModel.csproj: Rss feeds
11 years ago
Paul Schneider 57a473aff8 Many changes :
* JsonReaderError.aspx: display a nice json conversion error

* CalendarEntryList.cs: new Google data for the calendar entries

* JsonReaderError.cs: Json error model

* README.md: Documentation url

* NpgsqlBlogProvider.cs: Update the blog post title

* BlogsController.cs: - Updating the blog post title
- bug fix rendering the avatar

* FrontOfficeController.cs: - the client cannot modify its estimation

* GoogleController.cs: - implementing the calendar entries retrieval

* HomeController.cs: - the home start page from configuration
  parameter named "StartPage"

* Global.asax.cs: - back to a clean global.asax

* style.css: showing the main area with a background transparent color

* Post.aspx: Bug fix: the message was displayed two times (we keep the
  one from app.master)

* UserPost.aspx: the blog title comes from the poster profile found in
  ViewData

* DateQuery.aspx: implementing the date query

* Web.config: the start page now comes from Web.config

* Web.csproj: the Sql db creation script should not be deployed,
  neither as package.config

* BlogManager.cs: updating the blog post title

* BlogProvider.cs: yavscModel/Blogs/BlogManager.cs


* YavscModel.csproj: new cs files to compile

* App.master: returning from the Google login
11 years ago
Paul Schneider f695d108fb * Fixed the Pdf generation under Slackware
* Estimate view developpement
11 years ago
Paul Schneider b4fefbce7e - Fixes the french translation
- Css Style changed
11 years ago
Paul Schneider 333b6fd9d9 a working internationalization ... 11 years ago
Paul Schneider 347ffc8a5a * Tests.cs:
* Web.csproj:
* T.cs:
* Global.asax.cs:
* UserPost.aspx:
* UserPosts.aspx: 

* HomeController.cs: * Request.UserLanguages may be null

* App.master: a side

* README: yavsc

* TestByteA.cs: if TEST only

* Profile.aspx: nicer

* Web.config: no need of Newtonsoft.Json

* style.css: little buttons

* T.cs: moved to helpers ...
11 years ago
Paul Schneider 685c03b37e * Web.csproj:
* T.cs:
* IModule.cs:
* App.master:
* IProvider.cs:
* Error.aspx:
* AOEMail.aspx:
* Login.aspx:
* Index.aspx:
* Admin.aspx:
* yavscModel.csproj:
* WFManager.cs:
* Index.aspx:
* AddRole.aspx:
* Profile.aspx:
* Edit.aspx:
* Register.aspx:
* Index.aspx:
* RoleList.aspx:
* UserList.aspx:
* Validate.aspx:
* RemovePost.aspx:
* Index.aspx:
* BasketImpact.cs:
* Brand.aspx:
* Delete.aspx:
* Create.aspx:
* Backups.aspx:
* HomeController.cs:
* BlogManager.cs:
* Restore.aspx:
* Details.aspx:
* TitleNotFound.aspx:
* Product.aspx:
* AdminController.cs:
* Command.aspx:
* Service.aspx:
* BlogProvider.cs:
* NewProject.aspx:
* Catalog.aspx:
* Restored.aspx:
* BasketController.cs:
* AccountController.cs:
* WorkFlowController.cs:
* BlogsApiController.cs:
* ChangePassword.aspx:
* RemoveRoleQuery.aspx:
* CreateBackup.aspx:
* IContentProvider.cs:
* BackOfficeController.cs:
* FrontOfficeController.cs:
* NpgsqlBlogProvider.cs:
* NpgsqlContentProvider.cs:
* RegistrationPending.aspx:
* ProductCategory.aspx:
* FrontOfficeApiController.cs:
* ChangePasswordSuccess.aspx:
* ReferenceNotFound.aspx: 
* BackupCreated.aspx

Fixes many HTTP 500
Refactoring on the go
11 years ago
Paul Schneider 04804b89a9 Initial import 12 years ago