5 Commits

Author SHA1 Message Date
373785b94b * Wed Oct 08 2025 Brian Read <brianr@koozali.org> 1.0.0-18.sme
- Apply change from startform to start_form and endform to end_form to CGI panels [SME: 12779]
- Delete tarball in git, change .gitignore to ignore tarball .xz [SME: 12779]
2025-10-08 19:45:56 +01:00
8d21932462 * Wed Oct 08 2025 Brian Read <brianr@koozali.org> 1.0.0-17.sme
- fix [SME: ]
2025-10-08 19:43:52 +01:00
c1eb6b7a3c * Tue Oct 07 2025 Brian Read <brianr@koozali.org> 1.0.0-16.sme
- Apply change from startform to start_form and endform to end_form to CGI panels [SME: 12775-87]
2025-10-08 06:35:22 +01:00
6435c1254f Update README with specific Bugzilla links 2024-10-27 15:57:53 +00:00
Trevor Batley
b95922f209 fix-e-smith-pkg script (#12732) 2024-09-08 18:01:16 +10:00
4 changed files with 27 additions and 13 deletions

2
.gitignore vendored
View File

@@ -1,4 +1,4 @@
*.rpm
*.log
*spec-20*
*.tar.gz
*.tar.xz

View File

@@ -6,7 +6,14 @@ SMEServer Koozali developed git repo for smeserver-webshare smecontribs
<br />https://wiki.koozali.org/Webshare
## Bugzilla
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-webshare&product=SME%20Contribs&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
Show list of outstanding bugs:
[All](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=NEEDINFO&bug_status=IN_PROGRESS&bug_status=RESOLVED&bug_status=VERIFIED&classification=Contribs&component=smeserver-webshare&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
[Confirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=CONFIRMED&classification=Contribs&component=smeserver-webshare&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
[Unconfirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&classification=Contribs&component=smeserver-webshare&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
[Need Info](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=NEEDINFO&classification=Contribs&component=smeserver-webshare&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
[In Progress](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=IN_PROGRESS&classification=Contribs&component=smeserver-webshare&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
[Verified](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=VERIFIED&classification=Contribs&component=smeserver-webshare&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
[Resolved](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=RESOLVED&classification=Contribs&component=smeserver-webshare&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
## Description

View File

@@ -161,7 +161,7 @@ foreach (sort keys %projects)
print $q->startform (-method => 'POST', -action => $q->url (-absolute => 1));
print $q->start_form (-method => 'POST', -action => $q->url (-absolute => 1));
print $q->p ($q->a ({href => $q->url (-absolute => 1) . "?state=create"},
'Click here'),
@@ -230,7 +230,7 @@ END_TEXT
esmith::cgi::genHeaderNonCacheable ($q, \%conf, 'Create a new web share');
print $q->startform (-method => 'POST', -action => $q->url (-absolute => 1));
print $q->start_form (-method => 'POST', -action => $q->url (-absolute => 1));
print $q->p ($q->a ({href => $q->url (-absolute => 1)},
'Click here'),
@@ -274,7 +274,7 @@ END_TEXT
print $q->hidden (-name => 'state', -override => 1, -default => 'createShare');
print $q->endform;
print $q->end_form;
esmith::cgi::genFooter ($q);
}
@@ -334,7 +334,7 @@ END_TEXT
esmith::cgi::genHeaderNonCacheable ($q, \%conf, "Add user to web share: $project");
print $q->startform (-method => 'POST', -action => $q->url (-absolute => 1));
print $q->start_form (-method => 'POST', -action => $q->url (-absolute => 1));
print $q->p ($q->a ({href => $q->url (-absolute => 1)},
'Click here'),
@@ -364,7 +364,7 @@ END_TEXT
print $q->hidden (-name => 'state', -override => 1, -default => 'createUser');
print $q->endform;
print $q->end_form;
esmith::cgi::genFooter ($q);
return;
}
@@ -448,7 +448,7 @@ sub deleteUser ($)
esmith::cgi::genHeaderNonCacheable ($q, \%conf, "View/Delete Web share users: $project");
print $q->startform
print $q->start_form
(-method => 'POST', -action => $q->url (-absolute => 1));
print $q->p ($q->a ({href => $q->url (-absolute => 1)},
@@ -550,7 +550,7 @@ sub deleteProject ($)
esmith::cgi::genHeaderNonCacheable ($q, \%conf, 'Delete Web share project');
print $q->startform
print $q->start_form
(-method => 'POST', -action => $q->url (-absolute => 1));
print $q->p ($q->a ({href => $q->url (-absolute => 1)},
@@ -570,7 +570,7 @@ sub deleteProject ($)
-default => 'performDelete');
}
print $q->endform;
print $q->end_form;
esmith::cgi::genFooter ($q);
return;
}

View File

@@ -6,7 +6,7 @@ Summary: Webshare addon for SME Server
%define name smeserver-webshare
Name: %{name}
%define version 1.0.0
%define release 14
%define release 18
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@@ -14,13 +14,20 @@ Group: SME Server/addon
Source: %{name}-%{version}.tar.xz
BuildRoot: /var/tmp/%{name}-%{version}
BuildArchitectures: noarch
Requires: e-smith-base, perl-Apache-Htpasswd, perl-Crypt-PasswdMD5
BuildRequires: e-smith-devtools >= 1.13.1-03
Requires: smeserver-base, perl-Apache-Htpasswd, perl-Crypt-PasswdMD5
BuildRequires: smeserver-devtools >= 1.13.1-03
AutoReqProv: no
Obsoletes: devinfo-mitel-webshare dmc-mitel-webshare
%changelog
* Wed Oct 08 2025 Brian Read <brianr@koozali.org> 1.0.0-18.sme
- Apply change from startform to start_form and endform to end_form to CGI panels [SME: 12779]
- Delete tarball in git, change .gitignore to ignore tarball .xz [SME: 12779]
* Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 1.0.0-15.sme
- Fix e-smith references in smeserver-webshare [SME: 12732]
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 1.0.0-14.sme
- Roll up patches and move to git repo [SME: 12338]