- Nov 30, 2018
-
-
Jaime Pérez Crespo authored
-
Tim van Dijen authored
It's a bug!
-
Tim van Dijen authored
-
- Nov 29, 2018
-
-
Tim van Dijen authored
-
Tim van Dijen authored
Required for integration with Symfony4 applications; closes #1003
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
This way the code is closer to the resulting HTML, and we don't need to pass it through the "raw" filter afterwards to keep rendering the HTML.
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
We have some defaults, but now we can also pass the colors to the build script like this: npx webpack -p --env.primaryBackground=#XXX --env.transitionBackground=#YYY --env.secondaryBackground=#ZZZi
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
This introduces a "theme.header" configuration option in order to achieve that.
-
- Nov 28, 2018
-
-
Tim van Dijen authored
-
Jaime Pérez Crespo authored
This builds and minifies CSS and a common JS bundle, as well as copy the relevant fonts. In order to build, we now need to run "npm run build" after installing the dependencies with "npm install".
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
This function can be used to load an asset from a twig template, adding a "tag" parameter to it with a few dynamic bytes depending on the version of SimpleSAMLphp, or the last modification time of the file if we are running master. This behaves as a cache-buster, forcing browsers to reload assets when a new version of SimpleSAMLphp gets installed.
-
Jaime Pérez Crespo authored
This way we can forget about updating the copyright notice every year.
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
Those using this new Menu class can easily generate a menu suitable for the menu template, and add new items. The Menu class calls an "adminmenu" hook as well for those modules willing to extend the menu.
-
Jaime Pérez Crespo authored
-
- Nov 27, 2018
-
-
Jaime Pérez Crespo authored
It's divided in three main pages, as the old interface: front/configuration, authentication/testing and federation. For now, only the front/configuration page is working.
-
Jaime Pérez Crespo authored
We'll use it in the new admin interface. For now, we just fix the old hook so that translations work for strings stored in dictionaries in the hooking module.
-
- Nov 23, 2018
-
-
Jaime Pérez Crespo authored
Create a new "configpage" hook for those modules that need to inject anything in the configuration page. This allows us to change the signature of the hook, so that we pass it the \SimpleSAML\XHTML\Template object and then the hook can not only add data to be passed to the twig template, but also add its own translation domain. This was needed because many modules were putting their translations inside "core", and when moving those to the modules themselves, the new translation system cannot perform the translation because only the translations for the current module in use are loaded (in the config page, that's the core module). Therefore, we needed a way to get the Localization instance from the template, and a way to pass that to the hook so that the hook can register the translations for its own module.
-
Thijs Kinkhorst authored
Translations for preprodwarning replacement
-
Dick Visser authored
This allows more graceful fallback for untranslated languages. Also, use `raw` filter to keep the embedded HTML working.
-
Dick Visser authored
-
Thijs Kinkhorst authored
Show custom rejection message to unauthorised users
-
Dick Visser authored
-
Dick Visser authored
-
- Nov 22, 2018
-
-
Dick Visser authored
-
Dick Visser authored
-
Dick Visser authored
-
Dick Visser authored
-
Thijs Kinkhorst authored
-
- Nov 21, 2018
-
-
Thijs Kinkhorst authored
-
Thijs Kinkhorst authored
-
Thijs Kinkhorst authored
Rewrite Crypto::passwordHash() to use BCRYPT instead of unsafe algorithms
-
Tim van Dijen authored
-