diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-November/019815.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-November/019815.html | 149 |
1 files changed, 149 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-November/019815.html b/zarb-ml/mageia-dev/2012-November/019815.html new file mode 100644 index 000000000..89ed8dc10 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-November/019815.html @@ -0,0 +1,149 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] [soft-commits] [6416] Initial commit of Admin Panel. + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B6416%5D%20Initial%20commit%20of%20Admin%0A%09Panel.&In-Reply-To=%3C2062043.WnzaYDBLs1%40karamel%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="019810.html"> + <LINK REL="Next" HREF="019817.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] [soft-commits] [6416] Initial commit of Admin Panel.</H1> + <B>Nicolas Lécureuil</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B6416%5D%20Initial%20commit%20of%20Admin%0A%09Panel.&In-Reply-To=%3C2062043.WnzaYDBLs1%40karamel%3E" + TITLE="[Mageia-dev] [soft-commits] [6416] Initial commit of Admin Panel.">nicolas.lecureuil at free.fr + </A><BR> + <I>Tue Nov 6 16:26:41 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="019810.html">[Mageia-dev] [soft-commits] [6416] Initial commit of Admin Panel. +</A></li> + <LI>Next message: <A HREF="019817.html">[Mageia-dev] [soft-commits] [6416] Initial commit of Admin Panel. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#19815">[ date ]</a> + <a href="thread.html#19815">[ thread ]</a> + <a href="subject.html#19815">[ subject ]</a> + <a href="author.html#19815">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Le mardi 6 novembre 2012 13:16:20 Guillaume Rousse a écrit : +><i> Le 06/11/2012 12:09, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A> a écrit : +</I>><i> > Revision +</I>><i> > +</I>><i> > 6416 +</I>><i> > +</I>><i> > Author +</I>><i> > +</I>><i> > tuxta +</I>><i> > +</I>><i> > Date +</I>><i> > +</I>><i> > 2012-11-06 12:09:51 +0100 (Tue, 06 Nov 2012) +</I>><i> > +</I>><i> > Log Message +</I>><i> > +</I>><i> > Initial commit of Admin Panel. +</I>><i> > Has basic functionality that you might expect from the core program, +</I>><i> > escalates priviledges, loads categories and modules dynamically from +</I>><i> > configuration file, launches modules and returns to the panel once the +</I>><i> > module has completed. Works within ncurses, gtk and qt environments using +</I>><i> > the native widget set.> +</I>><i> > Added Paths +</I>><i> > +</I>><i> > * AdminPanel/trunk/ +</I>><i> > * AdminPanel/trunk/Auth.pm <#AdminPaneltrunkAuthpm> +</I>><i> > * AdminPanel/trunk/Category.pm <#AdminPaneltrunkCategorypm> +</I>><i> > * AdminPanel/trunk/ConfigReader.pm <#AdminPaneltrunkConfigReaderpm> +</I>><i> > * AdminPanel/trunk/MainDisplay.pm <#AdminPaneltrunkMainDisplaypm> +</I>><i> > * AdminPanel/trunk/Module.pm <#AdminPaneltrunkModulepm> +</I>><i> > * AdminPanel/trunk/SettingsReader.pm <#AdminPaneltrunkSettingsReaderpm> +</I>><i> > * AdminPanel/trunk/apanel.pl <#AdminPaneltrunkapanelpl> +</I>><i> > * AdminPanel/trunk/categories.conf <#AdminPaneltrunkcategoriesconf> +</I>><i> > * AdminPanel/trunk/extras/ +</I>><i> > * AdminPanel/trunk/extras/README <#AdminPaneltrunkextrasREADME> +</I>><i> > * AdminPanel/trunk/extras/org.freedesktop.policykit.pkexec.policy +</I>><i> > +</I>><i> > <#AdminPaneltrunkextrasorgfreedesktoppolicykitpkexecpolicy> +</I>><i> > +</I>><i> > * AdminPanel/trunk/images/ +</I>><i> > * AdminPanel/trunk/images/logo_mageia.png +</I>><i> > +</I>><i> > <#AdminPaneltrunkimageslogo_mageiapng> +</I>><i> > +</I>><i> > * AdminPanel/trunk/images/mageia.png <#AdminPaneltrunkimagesmageiapng> +</I>><i> > * AdminPanel/trunk/images/quit.png <#AdminPaneltrunkimagesquitpng> +</I>><i> > * AdminPanel/trunk/modules/ +</I>><i> > * AdminPanel/trunk/modules/test.cpp <#AdminPaneltrunkmodulestestcpp> +</I>><i> > * AdminPanel/trunk/settings.conf <#AdminPaneltrunksettingsconf> +</I>><i> > +</I>><i> > Added: AdminPanel/trunk/Auth.pm +</I>><i> > =================================================================== +</I>><i> > --- AdminPanel/trunk/Auth.pm (rev 0) +</I>><i> > +++ AdminPanel/trunk/Auth.pm 2012-11-06 11:09:51 UTC (rev 6416) +</I>><i> > @@ -0,0 +1,50 @@ +</I>><i> > +# Copyright 2012 Matteo Pasotti +</I>><i> > +# +</I>><i> > +# This file is part of mcc2 +</I>><i> > +# +</I>><i> > +# mcc2 is free software: you can redistribute it and/or modify +</I>><i> > +# it under the terms of the GNU General Public License as published by +</I>><i> > +# the Free Software Foundation, either version 2 of the License, or +</I>><i> > +# (at your option) any later version. +</I>><i> > +# +</I>><i> > +# mcc2 is distributed in the hope that it will be useful, +</I>><i> > +# but WITHOUT ANY WARRANTY; without even the implied warranty of +</I>><i> > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +</I>><i> > +# GNU General Public License for more details. +</I>><i> > +# +</I>><i> > +# You should have received a copy of the GNU General Public License +</I>><i> > +# along with mcc2. If not, see <<A HREF="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</A>>. +</I>><i> +</I>><i> I'm not convinced of the interest of repeating license and copyright +</I>><i> information in every single file, whereas a single top-level README file +</I>><i> would be enough. +</I> +Because in normal code we had header in top of code files :) + +><i> > +sub require_root_capability { +</I>><i> > + return 0 if(!$>); +</I>><i> > + return 1; +</I>><i> > +} +</I>><i> +</I>><i> Perl best practice: use english name for magic variables, for readability: +</I> +why rewrite this function ? this exist in common.pm already +</PRE> + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="019810.html">[Mageia-dev] [soft-commits] [6416] Initial commit of Admin Panel. +</A></li> + <LI>Next message: <A HREF="019817.html">[Mageia-dev] [soft-commits] [6416] Initial commit of Admin Panel. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#19815">[ date ]</a> + <a href="thread.html#19815">[ thread ]</a> + <a href="subject.html#19815">[ subject ]</a> + <a href="author.html#19815">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |