mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
PDF section type build prep
Closes #207 -- view PDF's with new PDF section type.
This commit is contained in:
parent
b5cd378302
commit
728789195c
9 changed files with 844 additions and 789 deletions
|
@ -13,9 +13,9 @@ All you need to provide is PostgreSQL, Microsoft SQL Server or any MySQL variant
|
||||||
|
|
||||||
## Latest Release
|
## Latest Release
|
||||||
|
|
||||||
[Community Edition: v2.3.2](https://github.com/documize/community/releases)
|
[Community Edition: v2.4.0](https://github.com/documize/community/releases)
|
||||||
|
|
||||||
[Enterprise Edition: v2.3.2](https://www.documize.com/downloads)
|
[Enterprise Edition: v2.4.0](https://www.documize.com/downloads)
|
||||||
|
|
||||||
> *We provide frequent product updates for both cloud and self-hosted customers.*
|
> *We provide frequent product updates for both cloud and self-hosted customers.*
|
||||||
>
|
>
|
||||||
|
|
4
core/database/scripts/mysql/db_00029.sql
Normal file
4
core/database/scripts/mysql/db_00029.sql
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
/* Community Edition */
|
||||||
|
|
||||||
|
-- Support per section attachments
|
||||||
|
ALTER TABLE dmz_doc_attachment ADD COLUMN `c_sectionid` VARCHAR(20) NOT NULL DEFAULT '' COLLATE utf8_bin AFTER `c_docid`;
|
|
@ -2,5 +2,3 @@
|
||||||
|
|
||||||
-- Support per section attachments
|
-- Support per section attachments
|
||||||
ALTER TABLE dmz_doc_attachment ADD COLUMN c_sectionid VARCHAR(20) NOT NULL DEFAULT '' COLLATE ucs_basic;
|
ALTER TABLE dmz_doc_attachment ADD COLUMN c_sectionid VARCHAR(20) NOT NULL DEFAULT '' COLLATE ucs_basic;
|
||||||
|
|
||||||
-- Deprecations
|
|
||||||
|
|
4
core/database/scripts/sqlserver/db_00002.sql
Normal file
4
core/database/scripts/sqlserver/db_00002.sql
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
/* Community Edition */
|
||||||
|
|
||||||
|
-- Support per section attachments
|
||||||
|
ALTER TABLE dmz_doc_attachment ADD c_sectionid NVARCHAR(20) COLLATE Latin1_General_CS_AS NOT NULL DEFAULT '';
|
|
@ -669,6 +669,9 @@ func (h *Handler) FetchDocumentData(w http.ResponseWriter, r *http.Request) {
|
||||||
response.WriteServerError(w, method, err)
|
response.WriteServerError(w, method, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if len(a) == 0 {
|
||||||
|
a = []attachment.Attachment{}
|
||||||
|
}
|
||||||
|
|
||||||
// Prepare response.
|
// Prepare response.
|
||||||
data := BulkDocumentData{}
|
data := BulkDocumentData{}
|
||||||
|
|
|
@ -40,9 +40,9 @@ func main() {
|
||||||
// product details
|
// product details
|
||||||
rt.Product = domain.Product{}
|
rt.Product = domain.Product{}
|
||||||
rt.Product.Major = "2"
|
rt.Product.Major = "2"
|
||||||
rt.Product.Minor = "3"
|
rt.Product.Minor = "4"
|
||||||
rt.Product.Patch = "2"
|
rt.Product.Patch = "0"
|
||||||
rt.Product.Revision = "190416125622"
|
rt.Product.Revision = "190419131243"
|
||||||
rt.Product.Version = fmt.Sprintf("%s.%s.%s", rt.Product.Major, rt.Product.Minor, rt.Product.Patch)
|
rt.Product.Version = fmt.Sprintf("%s.%s.%s", rt.Product.Major, rt.Product.Minor, rt.Product.Patch)
|
||||||
rt.Product.Edition = domain.CommunityEdition
|
rt.Product.Edition = domain.CommunityEdition
|
||||||
rt.Product.Title = fmt.Sprintf("%s Edition", rt.Product.Edition)
|
rt.Product.Title = fmt.Sprintf("%s Edition", rt.Product.Edition)
|
||||||
|
|
1606
embed/bindata.go
1606
embed/bindata.go
File diff suppressed because one or more lines are too long
|
@ -258,7 +258,7 @@ export default Controller.extend(Notifier, {
|
||||||
if (reloadPage) {
|
if (reloadPage) {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
} else {
|
} else {
|
||||||
resolve();
|
resolve();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "documize",
|
"name": "documize",
|
||||||
"version": "2.3.2",
|
"version": "2.4.0",
|
||||||
"description": "The Document IDE",
|
"description": "The Document IDE",
|
||||||
"repository": "",
|
"repository": "",
|
||||||
"license": "AGPL",
|
"license": "AGPL",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue